Passed
Pull Request — master (#1)
by Vladymyr
04:16
created
src/Clients/BittrexClient.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -159,8 +159,8 @@  discard block
 block discarded – undo
159 159
     public function buyLimit(string $market, float $quantity, float $rate)
160 160
     {
161 161
         $parameters['market'] = $market;
162
-        $parameters['quantity'] = (string)$quantity;
163
-        $parameters['rate'] = (string)$rate;
162
+        $parameters['quantity'] = (string) $quantity;
163
+        $parameters['rate'] = (string) $rate;
164 164
 
165 165
         $request = $this->privateRequestManager->createGetRequest('/market/buylimit', $parameters);
166 166
 
@@ -178,8 +178,8 @@  discard block
 block discarded – undo
178 178
     public function sellLimit(string $market, float $quantity, float $rate)
179 179
     {
180 180
         $parameters['market'] = $market;
181
-        $parameters['quantity'] = (string)$quantity;
182
-        $parameters['rate'] = (string)$rate;
181
+        $parameters['quantity'] = (string) $quantity;
182
+        $parameters['rate'] = (string) $rate;
183 183
 
184 184
         $request = $this->privateRequestManager->createGetRequest('/market/selllimit', $parameters);
185 185
 
@@ -281,7 +281,7 @@  discard block
 block discarded – undo
281 281
     public function withdraw(string $currency, float $quantity, string $address, string $paymentid = null)
282 282
     {
283 283
         $parameters['currency'] = $currency;
284
-        $parameters['quantity'] = (string)$quantity;
284
+        $parameters['quantity'] = (string) $quantity;
285 285
         $parameters['address'] = $address;
286 286
 
287 287
         if (!is_null($paymentid)) {
Please login to merge, or discard this patch.
src/Helpers/CommonHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
         }
30 30
 
31 31
         foreach ($headers as $name => $value) {
32
-            $httpHeaders[] =  $name . ': ' . $value;
32
+            $httpHeaders[] = $name . ': ' . $value;
33 33
         }
34 34
 
35 35
         return $httpHeaders;
Please login to merge, or discard this patch.