@@ -24,7 +24,7 @@ |
||
| 24 | 24 | /** |
| 25 | 25 | * Bind to service container. |
| 26 | 26 | */ |
| 27 | - $this->app->bind('shetabit-payment', function () { |
|
| 27 | + $this->app->bind('shetabit-payment', function() { |
|
| 28 | 28 | return new PaymentManager(config('payment')); |
| 29 | 29 | }); |
| 30 | 30 | } |
@@ -51,7 +51,7 @@ discard block |
||
| 51 | 51 | */ |
| 52 | 52 | private function extractDetails($name) |
| 53 | 53 | { |
| 54 | - return empty($this->invoice->getDetails()[$name]) ? null : $this->invoice->getDetails()[$name]; |
|
| 54 | + return empty($this->invoice->getDetails()[$name]) ? null : $this->invoice->getDetails()[$name]; |
|
| 55 | 55 | } |
| 56 | 56 | |
| 57 | 57 | /** |
@@ -61,9 +61,9 @@ discard block |
||
| 61 | 61 | */ |
| 62 | 62 | public function purchase() |
| 63 | 63 | { |
| 64 | - $mobile = $this->extract('mobile'); |
|
| 65 | - $description = $this->extract('description'); |
|
| 66 | - $factorNumber = $this->extract('factorNumber'); |
|
| 64 | + $mobile = $this->extract('mobile'); |
|
| 65 | + $description = $this->extract('description'); |
|
| 66 | + $factorNumber = $this->extract('factorNumber'); |
|
| 67 | 67 | |
| 68 | 68 | $data = array( |
| 69 | 69 | 'api' => $this->settings->merchantId, |