@@ -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) |
@@ -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; |