Passed
Pull Request — master (#127)
by
unknown
02:37
created
src/Drivers/Behpardakht/Behpardakht.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -56,8 +56,8 @@  discard block
 block discarded – undo
56 56
             $context = stream_context_create(
57 57
                 [
58 58
                 'ssl' => array(
59
-                  'verify_peer'       => false,
60
-                  'verify_peer_name'  => false
59
+                    'verify_peer'       => false,
60
+                    'verify_peer_name'  => false
61 61
                 )]
62 62
             );
63 63
 
@@ -130,8 +130,8 @@  discard block
 block discarded – undo
130 130
             $context = stream_context_create(
131 131
                 [
132 132
                 'ssl' => array(
133
-                  'verify_peer'       => false,
134
-                  'verify_peer_name'  => false
133
+                    'verify_peer'       => false,
134
+                    'verify_peer_name'  => false
135 135
                 )]
136 136
             );
137 137
 
Please login to merge, or discard this patch.
src/Drivers/Digipay/Digipay.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -16,10 +16,10 @@
 block discarded – undo
16 16
 class Digipay extends Driver
17 17
 {
18 18
     /**
19
-    * Digipay Client.
20
-    *
21
-    * @var object
22
-    */
19
+     * Digipay Client.
20
+     *
21
+     * @var object
22
+     */
23 23
     protected $client;
24 24
 
25 25
     /**
Please login to merge, or discard this patch.
config/payment.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -169,7 +169,7 @@
 block discarded – undo
169 169
             'callbackUrl' => 'http://yoursite.com/path/to',
170 170
             'description' => 'payment using poolam',
171 171
         ],
172
-          'sadad' => [
172
+            'sadad' => [
173 173
             'apiPaymentByIdentityUrl' => 'https://sadad.shaparak.ir/api/v0/PaymentByIdentity/PaymentRequest',
174 174
             'apiPaymentUrl' => 'https://sadad.shaparak.ir/api/v0/Request/PaymentRequest',
175 175
             'apiPurchaseByIdentityUrl' => 'https://sadad.shaparak.ir/vpg/api/v0/Request/PaymentRequest',
Please login to merge, or discard this patch.
src/Drivers/Fanavacard/Fanavacard.php 1 patch
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -132,15 +132,15 @@  discard block
 block discarded – undo
132 132
     {
133 133
         $receipt = new Receipt('fanavacard', $referenceId);
134 134
         $receipt->detail([
135
-                             'ResNum'=>Request::input('ResNum'),
136
-                             'RefNum'=>Request::input('RefNum'),
137
-                             'token'=>Request::input('token'),
138
-                             'CustomerRefNum'=>Request::input('CustomerRefNum'),
139
-                             'CardMaskPan'=>Request::input('CardMaskPan'),
140
-                             'transactionAmount'=>Request::input('transactionAmount'),
141
-                             'emailAddress'=>Request::input('emailAddress'),
142
-                             'mobileNo'=>Request::input('mobileNo'),
143
-                         ]);
135
+                                'ResNum'=>Request::input('ResNum'),
136
+                                'RefNum'=>Request::input('RefNum'),
137
+                                'token'=>Request::input('token'),
138
+                                'CustomerRefNum'=>Request::input('CustomerRefNum'),
139
+                                'CardMaskPan'=>Request::input('CardMaskPan'),
140
+                                'transactionAmount'=>Request::input('transactionAmount'),
141
+                                'emailAddress'=>Request::input('emailAddress'),
142
+                                'mobileNo'=>Request::input('mobileNo'),
143
+                            ]);
144 144
         return $receipt;
145 145
     }
146 146
 
@@ -173,11 +173,11 @@  discard block
 block discarded – undo
173 173
 
174 174
     private function httpClientInit(): void {
175 175
         $this->client = new Client([
176
-                                       'curl'=>[\CURLOPT_SSL_CIPHER_LIST=>'DEFAULT@SECLEVEL=1',],
177
-                                       'verify' => false,
178
-                                       'base_uri' => $this->settings->baseUri,
179
-                                       'headers' => ['Content-Type' => 'application/json',],
180
-                                   ]);
176
+                                        'curl'=>[\CURLOPT_SSL_CIPHER_LIST=>'DEFAULT@SECLEVEL=1',],
177
+                                        'verify' => false,
178
+                                        'base_uri' => $this->settings->baseUri,
179
+                                        'headers' => ['Content-Type' => 'application/json',],
180
+                                    ]);
181 181
     }
182 182
 
183 183
     private function getWsContext(): array {
Please login to merge, or discard this patch.