-
Notifications
You must be signed in to change notification settings - Fork 12
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
Update Webhook api calls #184
Conversation
Should be part of 5.x due to the BC |
Ok, we must start a 5.4 branch based on 5.3 then and merge this up to master later after merging this PR to that one. |
src/BigBlueButton.php
Outdated
} | ||
|
||
public function hooksList(): HooksListResponse | ||
public function hooksList(HooksListParameters $hooksListParameters): HooksListResponse |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hm, that is a breaking change, this parameter must not be a real parameter in 5.x and this method must trigger a deprecation notice when it is missing.
src/BigBlueButton.php
Outdated
@@ -418,14 +419,14 @@ public function hooksCreate(HooksCreateParameters $hookCreateParams): HooksCreat | |||
return new HooksCreateResponse($xml); | |||
} | |||
|
|||
public function getHooksListUrl(): string | |||
public function getHooksListUrl(HooksListParameters $hooksListParameters): string |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hm, that is a breaking change, this parameter must not be a real parameter in 5.x and this method must trigger a deprecation notice when it is missing.
…leredbutton/bigbluebutton-api-php into 183-add-filter-to-hook-list
Fixes #183
HooksListParameters
class as required parameter forhooksList()
andgetHooksListUrl()
(Breaking Change) (see https://docs.bigbluebutton.org/development/webhooks/#hookslist)getEventID()
/setEventID(string $id)
on HooksCreateParameters (see https://docs.bigbluebutton.org/development/webhooks/#hookscreate)isMissingHook()
andisHookError()
to HooksDestroyResponse (see https://docs.bigbluebutton.org/development/webhooks/#hooksdestroy)