@@ -190,7 +190,6 @@ discard block |
||
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 |
||
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) |
@@ -1,5 +1,5 @@ discard block |
||
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 |
||
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 |
||
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 |
||
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)) { |
@@ -1,5 +1,5 @@ |
||
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 |
@@ -1,5 +1,5 @@ discard block |
||
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 |
||
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; |
@@ -1,5 +1,5 @@ |
||
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 |
@@ -1,5 +1,5 @@ |
||
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 |
@@ -1,5 +1,5 @@ |
||
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 |
@@ -1,5 +1,5 @@ |
||
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 |
@@ -1,5 +1,5 @@ |
||
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 |
@@ -1,5 +1,5 @@ |
||
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 |