From 6071efe79d07da09a995614c0cb6ff328b9294ed Mon Sep 17 00:00:00 2001 From: "darius.ungur" Date: Mon, 20 May 2019 14:41:02 +0300 Subject: [PATCH] Changed the visibility of the method \LaravelFCM\Sender\FCMSender::post, from private to protected in order to be able to override it --- src/Sender/FCMSender.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Sender/FCMSender.php b/src/Sender/FCMSender.php index 7c2aeda4e..136295b14 100644 --- a/src/Sender/FCMSender.php +++ b/src/Sender/FCMSender.php @@ -105,7 +105,7 @@ public function sendToTopic(Topics $topics, Options $options = null, PayloadNoti * * @return null|\Psr\Http\Message\ResponseInterface */ - private function post($request) + protected function post($request) { try { $responseGuzzle = $this->client->request('post', $this->url, $request->build());