Skip to content

Commit

Permalink
fixed problem in compatibility definition
Browse files Browse the repository at this point in the history
  • Loading branch information
samuraee committed Jun 4, 2019
1 parent 8cd44e6 commit b27bdd0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Adapter/Mellat.php
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ public function getGatewayReferenceId(): string
return $this->RefId;
}

public function afterVerify()
public function afterVerify(): bool
{
return $this->settleTransaction();
}
Expand Down
2 changes: 1 addition & 1 deletion src/Adapter/Saman.php
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}
Expand Down

0 comments on commit b27bdd0

Please sign in to comment.