Skip to content

Commit

Permalink
Fixed error class for PHP <=7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Paynow committed Sep 5, 2019
1 parent 1aad6a1 commit d33a1cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Paynow/Exception/Error.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ public function __construct($errorType, $message)
/**
* @return string
*/
public function getErrorType(): string
public function getErrorType()
{
return $this->errorType;
}

/**
* @return string
*/
public function getMessage(): string
public function getMessage()
{
return $this->message;
}
Expand Down

0 comments on commit d33a1cd

Please sign in to comment.