From b27bdd0d849507220fb1489ccc58593e236101f7 Mon Sep 17 00:00:00 2001 From: Aboozar Ghaffari Date: Wed, 5 Jun 2019 01:09:12 +0430 Subject: [PATCH] fixed problem in compatibility definition --- src/Adapter/Mellat.php | 2 +- src/Adapter/Saman.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Adapter/Mellat.php b/src/Adapter/Mellat.php index d4b7745..d6693f2 100755 --- a/src/Adapter/Mellat.php +++ b/src/Adapter/Mellat.php @@ -349,7 +349,7 @@ public function getGatewayReferenceId(): string return $this->RefId; } - public function afterVerify() + public function afterVerify(): bool { return $this->settleTransaction(); } diff --git a/src/Adapter/Saman.php b/src/Adapter/Saman.php index 5291477..334ff39 100755 --- a/src/Adapter/Saman.php +++ b/src/Adapter/Saman.php @@ -278,7 +278,7 @@ protected function getWSDL($type = null) * @return SoapClient * @throws SoapFault */ - protected function getSoapClient($type = null) + protected function getSoapClient($type = null): SoapClient { return new SoapClient($this->getWSDL($type), $this->getSoapOptions()); }