Skip to content

Commit

Permalink
Merge pull request #14 from RTLer/analysis-qxK1MB
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
RTLer authored Nov 19, 2017
2 parents 17b9c43 + 4e949f7 commit d60d70b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Drivers/DriverInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public function verifyWithExtra($inputs);
public function setAddress($inputs);

/**
* activate sandbox mod for dev environment
* activate sandbox mod for dev environment.
*/
public function enableSandbox();
}
2 changes: 1 addition & 1 deletion src/Laravel/ZarinpalServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public function register()

$zarinpal = new Zarinpal($merchantID, $this->app->make(DriverInterface::class));

if(config('services.zarinpal.sandbox',false)){
if (config('services.zarinpal.sandbox', false)) {
$zarinpal->enableSandbox();
}

Expand Down
2 changes: 0 additions & 2 deletions src/Zarinpal.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,6 @@ public function getDriver()
return $this->driver;
}

/**
*/
public function enableSandbox()
{
return $this->getDriver()->enableSandbox();
Expand Down

0 comments on commit d60d70b

Please sign in to comment.