Skip to content

Commit b9644fc

Browse files
committed
Remove multiple typehinting for PHP 7.4 compat.
1 parent 4fea065 commit b9644fc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/ConvertKit_API.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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) {

0 commit comments

Comments
 (0)