@@ -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 @@ 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 |
@@ -160,8 +160,8 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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)) { |
@@ -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 |