Skip to content

Commit

Permalink
Merge pull request #13 from karptonite/fix-missing-default-param-value
Browse files Browse the repository at this point in the history
Give a default value to the param $post_string in http()
  • Loading branch information
maksverver authored Mar 19, 2024
2 parents fe9cb01 + 79f203c commit b1f729f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Subscriber.php
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ private function change_subscription($mode, $topic_url, $http_function = false)
*
* @return mixed
*/
private function http($url, $post_string)
private function http($url, $post_string = false)
{

// add any additional curl options here
Expand Down

0 comments on commit b1f729f

Please sign in to comment.