From 79f203c4c809f333267d23b70707b1ddc68f441b Mon Sep 17 00:00:00 2001 From: Daniel Karp Date: Mon, 18 Mar 2024 09:39:28 -0400 Subject: [PATCH] Give a default value to the param $post_string in http() This private function is called with and without this param. --- src/Subscriber.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Subscriber.php b/src/Subscriber.php index b661f69..ddded92 100644 --- a/src/Subscriber.php +++ b/src/Subscriber.php @@ -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