Skip to content

Commit 79f203c

Browse files
committed
Give a default value to the param $post_string in http()
This private function is called with and without this param.
1 parent fe9cb01 commit 79f203c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Subscriber.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ private function change_subscription($mode, $topic_url, $http_function = false)
181181
*
182182
* @return mixed
183183
*/
184-
private function http($url, $post_string)
184+
private function http($url, $post_string = false)
185185
{
186186

187187
// add any additional curl options here

0 commit comments

Comments
 (0)