Skip to content

Commit b27bdd0

Browse files
committed
fixed problem in compatibility definition
1 parent 8cd44e6 commit b27bdd0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Adapter/Mellat.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ public function getGatewayReferenceId(): string
349349
return $this->RefId;
350350
}
351351

352-
public function afterVerify()
352+
public function afterVerify(): bool
353353
{
354354
return $this->settleTransaction();
355355
}

src/Adapter/Saman.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ protected function getWSDL($type = null)
278278
* @return SoapClient
279279
* @throws SoapFault
280280
*/
281-
protected function getSoapClient($type = null)
281+
protected function getSoapClient($type = null): SoapClient
282282
{
283283
return new SoapClient($this->getWSDL($type), $this->getSoapOptions());
284284
}

0 commit comments

Comments
 (0)