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