File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -609,9 +609,9 @@ public function get_webhooks()
609609 /**
610610 * Creates a webhook that will be called based on the chosen event types.
611611 *
612- * @param string $url URL to receive event.
613- * @param string $event Event to subscribe to.
614- * @param string|integer $parameter Optional parameter depending on the event.
612+ * @param string $url URL to receive event.
613+ * @param string $event Event to subscribe to.
614+ * @param string $parameter Optional parameter depending on the event.
615615 *
616616 * @since 1.0.0
617617 *
@@ -621,7 +621,7 @@ public function get_webhooks()
621621 *
622622 * @return false|object
623623 */
624- public function create_webhook (string $ url , string $ event , string | int $ parameter = '' )
624+ public function create_webhook (string $ url , string $ event , string $ parameter = '' )
625625 {
626626 // Depending on the event, build the required event array structure.
627627 switch ($ event ) {
You can’t perform that action at this time.
0 commit comments