Skip to content

Commit b1f729f

Browse files
authored
Merge pull request #13 from karptonite/fix-missing-default-param-value
Give a default value to the param $post_string in http()
2 parents fe9cb01 + 79f203c commit b1f729f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Subscriber.php

+1-1
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)