Skip to content

Commit

Permalink
Merge pull request #97 from Adyen/develop
Browse files Browse the repository at this point in the history
Merge from develop for new 1.6.0 release
  • Loading branch information
rikterbeek committed Jan 25, 2019
2 parents 8272f52 + 8bd4f09 commit b644c34
Show file tree
Hide file tree
Showing 92 changed files with 2,356 additions and 557 deletions.
12 changes: 6 additions & 6 deletions src/Adyen/AdyenException.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ class AdyenException extends Exception
/**
* @var null
*/
protected $_status;
protected $status;

/**
* @var null
*/
protected $_errorType;
protected $errorType;

/**
* AdyenException constructor.
Expand All @@ -27,8 +27,8 @@ class AdyenException extends Exception
*/
public function __construct($message = "", $code = 0, Exception $previous = null, $status = null, $errorType = null)
{
$this->_status = $status;
$this->_errorType = $errorType;
$this->status = $status;
$this->errorType = $errorType;
parent::__construct($message, (int)$code, $previous);
}

Expand All @@ -39,14 +39,14 @@ public function __construct($message = "", $code = 0, Exception $previous = null
*/
public function getStatus()
{
return $this->_status;
return $this->status;
}

/**
* Get Adyen Error type
*/
public function getErrorType()
{
return $this->_errorType;
return $this->errorType;
}
}
2 changes: 1 addition & 1 deletion src/Adyen/ApiKeyAuthenticatedService.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ class ApiKeyAuthenticatedService extends Service
/**
* @var bool
*/
protected $_requiresApiKey = true;
protected $requiresApiKey = true;
}
Loading

0 comments on commit b644c34

Please sign in to comment.