@@ -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 | } |
@@ -111,7 +111,7 @@ |
||
111 | 111 | $soap = new \SoapClient($this->settings->apiVerificationUrl); |
112 | 112 | |
113 | 113 | // step1: verify request |
114 | - $verifyResponse = (int)$soap->bpVerifyRequest($data, $this->settings->apiNamespaceUrl)->return; |
|
114 | + $verifyResponse = (int) $soap->bpVerifyRequest($data, $this->settings->apiNamespaceUrl)->return; |
|
115 | 115 | if ($verifyResponse != 0) { |
116 | 116 | // rollback money and throw exception |
117 | 117 | $soap->bpReversalRequest($data, $this->settings->apiNamespaceUrl); |