Skip to content

Commit

Permalink
Give a default value to the param $post_string in http()
Browse files Browse the repository at this point in the history
This private function is called with and without this param.
  • Loading branch information
karptonite committed Mar 18, 2024
1 parent fe9cb01 commit 79f203c
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 79f203c

Please sign in to comment.