diff --git a/src/Drivers/DriverInterface.php b/src/Drivers/DriverInterface.php index eec5c73..2d2b13d 100644 --- a/src/Drivers/DriverInterface.php +++ b/src/Drivers/DriverInterface.php @@ -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(); } diff --git a/src/Laravel/ZarinpalServiceProvider.php b/src/Laravel/ZarinpalServiceProvider.php index 94354b9..867f0dd 100644 --- a/src/Laravel/ZarinpalServiceProvider.php +++ b/src/Laravel/ZarinpalServiceProvider.php @@ -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(); } diff --git a/src/Zarinpal.php b/src/Zarinpal.php index f727599..5c560e3 100644 --- a/src/Zarinpal.php +++ b/src/Zarinpal.php @@ -94,8 +94,6 @@ public function getDriver() return $this->driver; } - /** - */ public function enableSandbox() { return $this->getDriver()->enableSandbox();