Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: declare ReservationControllerResult.requiresApproval #354

Merged
merged 2 commits into from
May 27, 2024

Conversation

JohnVillalovos
Copy link
Contributor

The attribute ReservationControllerResult.requiresApproval needs to be declared or PHP 8.2 will fail as dynamic attributes are deprecated.

Closes: #242

The attribute `ReservationControllerResult.requiresApproval` needs to
be declared or PHP 8.2 will fail as dynamic attributes are deprecated.

Closes: LibreBooking#242
A user reported an error:
    Creation of dynamic property RestResponse::$signedOut is deprecated
    File: /var/www/html/WebServices/AuthenticationWebService.php

Resolved this by inheriting from `RestResponse`.

Also declare the `$server` attribute on the `AuthenticationWebService`
class.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Can't create new reservation through api call ERROR $requiresApproval is deprecated
2 participants