Skip to content

Commit

Permalink
Undo throwing exception
Browse files Browse the repository at this point in the history
  • Loading branch information
bryceandy committed Jun 18, 2020
1 parent b2b2019 commit a484ee2
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/Pesapal.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,9 @@ class Pesapal
* Pesapal constructor.
*
* @param OAuthSignatureMethod_HMAC_SHA1 $signature
* @throws ConfigurationUnavailableException
*/
public function __construct(OAuthSignatureMethod_HMAC_SHA1 $signature)
{
if (!config('pesapal.consumer_key') || !config('pesapal.consumer_secret'))
throw new ConfigurationUnavailableException();

$this->token = NULL;
$this->params = NULL;
$this->consumerKey = config('pesapal.consumer_key');
Expand Down

0 comments on commit a484ee2

Please sign in to comment.