Completed
Push — master ( 6cb2c6...67107a )
by Vladymyr
8s
created
src/Exceptions/HttpClientException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 /**
4 4
  * @link https://github.com/codenix-sv/bittrex-api
5 5
  * @copyright Copyright (c) 2017 codenix-sv
Please login to merge, or discard this patch.
src/Exceptions/CurlException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 /**
4 4
  * @link https://github.com/codenix-sv/bittrex-api
5 5
  * @copyright Copyright (c) 2017 codenix-sv
Please login to merge, or discard this patch.
src/Clients/Client.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 /**
4 4
  * @link https://github.com/codenix-sv/bittrex-api
5 5
  * @copyright Copyright (c) 2017 codenix-sv
Please login to merge, or discard this patch.
src/Clients/BittrexClient.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 /**
4 4
  * @link https://github.com/codenix-sv/bittrex-api
5 5
  * @copyright Copyright (c) 2017 codenix-sv
@@ -160,8 +160,8 @@  discard block
 block discarded – undo
160 160
     public function buyLimit(string $market, float $quantity, float $rate)
161 161
     {
162 162
         $parameters['market'] = $market;
163
-        $parameters['quantity'] = (string)$quantity;
164
-        $parameters['rate'] = (string)$rate;
163
+        $parameters['quantity'] = (string) $quantity;
164
+        $parameters['rate'] = (string) $rate;
165 165
 
166 166
         $request = $this->privateRequestManager->createGetRequest('/market/buylimit', $parameters);
167 167
 
@@ -179,8 +179,8 @@  discard block
 block discarded – undo
179 179
     public function sellLimit(string $market, float $quantity, float $rate)
180 180
     {
181 181
         $parameters['market'] = $market;
182
-        $parameters['quantity'] = (string)$quantity;
183
-        $parameters['rate'] = (string)$rate;
182
+        $parameters['quantity'] = (string) $quantity;
183
+        $parameters['rate'] = (string) $rate;
184 184
 
185 185
         $request = $this->privateRequestManager->createGetRequest('/market/selllimit', $parameters);
186 186
 
@@ -282,7 +282,7 @@  discard block
 block discarded – undo
282 282
     public function withdraw(string $currency, float $quantity, string $address, string $paymentid = null)
283 283
     {
284 284
         $parameters['currency'] = $currency;
285
-        $parameters['quantity'] = (string)$quantity;
285
+        $parameters['quantity'] = (string) $quantity;
286 286
         $parameters['address'] = $address;
287 287
 
288 288
         if (!is_null($paymentid)) {
Please login to merge, or discard this patch.
src/Helpers/CommonHelper.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 /**
4 4
  * @link https://github.com/codenix-sv/bittrex-api
5 5
  * @copyright Copyright (c) 2017 codenix-sv
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
         }
31 31
 
32 32
         foreach ($headers as $name => $value) {
33
-            $httpHeaders[] =  $name . ': ' . $value;
33
+            $httpHeaders[] = $name . ': ' . $value;
34 34
         }
35 35
 
36 36
         return $httpHeaders;
Please login to merge, or discard this patch.
src/Requests/Request.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 /**
4 4
  * @link https://github.com/codenix-sv/bittrex-api
5 5
  * @copyright Copyright (c) 2017 codenix-sv
Please login to merge, or discard this patch.
src/Requests/BaseRequest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 /**
4 4
  * @link https://github.com/codenix-sv/bittrex-api
5 5
  * @copyright Copyright (c) 2017 codenix-sv
Please login to merge, or discard this patch.
src/Requests/Managers/BittrexRequestManager.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 /**
4 4
  * @link https://github.com/codenix-sv/bittrex-api
5 5
  * @copyright Copyright (c) 2017 codenix-sv
Please login to merge, or discard this patch.
src/Requests/Managers/PrivateBittrexRequestManager.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 /**
4 4
  * @link https://github.com/codenix-sv/bittrex-api
5 5
  * @copyright Copyright (c) 2017 codenix-sv
Please login to merge, or discard this patch.