From 87b054841cb7fe7c84e21328fe97b351ba0c9bd1 Mon Sep 17 00:00:00 2001 From: Mujhtech Date: Thu, 5 Aug 2021 22:14:36 +0100 Subject: [PATCH] ... --- src/SendChamp.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/SendChamp.php b/src/SendChamp.php index 78fa70c..43c33b8 100644 --- a/src/SendChamp.php +++ b/src/SendChamp.php @@ -41,7 +41,7 @@ class SendChamp { * @var string */ - protected $pubicKey; + protected $publicKey; /** @@ -127,7 +127,7 @@ private function setRequestOptions() */ - private function setHttpResponse($url, $method, $body = []) + private function setHttpResponse($url, $method = null, $body = []) { if (is_null($method)) { throw new SendChampException("Empty method not allowed");