Passed
Push — master ( 4d79d7...1bbbfb )
by mahdi
02:39
created
src/Drivers/Paystar/Paystar.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
             'sign' =>
82 82
                 hash_hmac(
83 83
                     'SHA512',
84
-                    $amount . '#' . $order_id . '#' . $callback,
84
+                    $amount.'#'.$order_id.'#'.$callback,
85 85
                     $this->settings->signKey
86 86
                 ),
87 87
         ];
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
                     'headers' => [
96 96
                         'Content-Type' => 'application/json',
97 97
                         'Accept' => 'application/json',
98
-                        'Authorization' => 'Bearer ' . $this->settings->gatewayId,
98
+                        'Authorization' => 'Bearer '.$this->settings->gatewayId,
99 99
                     ],
100 100
                     'body' => json_encode($data),
101 101
                 ]
@@ -153,7 +153,7 @@  discard block
 block discarded – undo
153 153
             'sign' =>
154 154
                 hash_hmac(
155 155
                     'SHA512',
156
-                    $amount . '#' . $refNum . '#' . $cardNumber . '#' . $trackingCode,
156
+                    $amount.'#'.$refNum.'#'.$cardNumber.'#'.$trackingCode,
157 157
                     $this->settings->signKey
158 158
                 ),
159 159
         ];
@@ -165,7 +165,7 @@  discard block
 block discarded – undo
165 165
                 'headers' => [
166 166
                     'Content-Type' => 'application/json',
167 167
                     'Accept' => 'application/json',
168
-                    'Authorization' => 'Bearer ' . $this->settings->gatewayId,
168
+                    'Authorization' => 'Bearer '.$this->settings->gatewayId,
169 169
                 ],
170 170
                 'body' => json_encode($data),
171 171
             ]
Please login to merge, or discard this patch.