Completed
Push — master ( d57e94...209cee )
by Vladymyr
02:42
created
src/Clients/BittrexClient.php 2 patches
Indentation   -2 removed lines patch added patch discarded remove patch
@@ -190,7 +190,6 @@  discard block
 block discarded – undo
190 190
      * Cancel a buy or sell order
191 191
      *
192 192
      * @param string $uuid uuid of buy or sell order
193
-
194 193
      * @return mixed
195 194
      */
196 195
     public function cancel(string $uuid)
@@ -275,7 +274,6 @@  discard block
 block discarded – undo
275 274
      * @param float $quantity quantity of coins to withdraw
276 275
      * @param string $address address where to send the funds
277 276
      * @param string $paymentid used for CryptoNotes/BitShareX/Nxt optional field (memo/paymentid)
278
-
279 277
      * @return mixed
280 278
      */
281 279
     public function withdraw(string $currency, float $quantity, string $address, string $paymentid = null)
Please login to merge, or discard this 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
@@ -165,8 +165,8 @@  discard block
 block discarded – undo
165 165
     {
166 166
         $parameters = [];
167 167
         $parameters['market'] = $market;
168
-        $parameters['quantity'] = (string)$quantity;
169
-        $parameters['rate'] = (string)$rate;
168
+        $parameters['quantity'] = (string) $quantity;
169
+        $parameters['rate'] = (string) $rate;
170 170
 
171 171
         $request = $this->privateRequestManager->createGetRequest('/market/buylimit', $parameters);
172 172
 
@@ -185,8 +185,8 @@  discard block
 block discarded – undo
185 185
     {
186 186
         $parameters = [];
187 187
         $parameters['market'] = $market;
188
-        $parameters['quantity'] = (string)$quantity;
189
-        $parameters['rate'] = (string)$rate;
188
+        $parameters['quantity'] = (string) $quantity;
189
+        $parameters['rate'] = (string) $rate;
190 190
 
191 191
         $request = $this->privateRequestManager->createGetRequest('/market/selllimit', $parameters);
192 192
 
@@ -292,7 +292,7 @@  discard block
 block discarded – undo
292 292
     {
293 293
         $parameters = [];
294 294
         $parameters['currency'] = $currency;
295
-        $parameters['quantity'] = (string)$quantity;
295
+        $parameters['quantity'] = (string) $quantity;
296 296
         $parameters['address'] = $address;
297 297
 
298 298
         if (!is_null($paymentid)) {
Please login to merge, or discard this patch.
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/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/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/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/Managers/PublicBittrexRequestManager.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/RequestManager.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.