@@ -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 | } |
@@ -63,16 +63,16 @@ |
||
63 | 63 | |
64 | 64 | if (!empty($details['orderId'])) { |
65 | 65 | $orderId = $details['orderId']; |
66 | - } else if(!empty($details['order_id'])) { |
|
66 | + } else if (!empty($details['order_id'])) { |
|
67 | 67 | $orderId = $details['order_id']; |
68 | 68 | } else { |
69 | 69 | $orderId = crc32($this->invoice->getUuid()).time(); |
70 | 70 | } |
71 | 71 | |
72 | 72 | $mobile = null; |
73 | - if(!empty($details['mobile'])) { |
|
73 | + if (!empty($details['mobile'])) { |
|
74 | 74 | $mobile = $details['mobile']; |
75 | - } else if(!empty($details['phone'])) { |
|
75 | + } else if (!empty($details['phone'])) { |
|
76 | 76 | $mobile = $details['phone']; |
77 | 77 | } |
78 | 78 |