@@ -43,7 +43,7 @@ discard block |
||
43 | 43 | */ |
44 | 44 | public function get(ApiKey $apiKey): int |
45 | 45 | { |
46 | - $filename = $this->path . '/'. $this->generateFilename($apiKey); |
|
46 | + $filename = $this->path . '/' . $this->generateFilename($apiKey); |
|
47 | 47 | $this->checkNonceFile($filename); |
48 | 48 | |
49 | 49 | return (int) file_get_contents($filename); |
@@ -54,7 +54,7 @@ discard block |
||
54 | 54 | */ |
55 | 55 | public function increase(ApiKey $apiKey): void |
56 | 56 | { |
57 | - $filename = $this->path . '/'. $this->generateFilename($apiKey); |
|
57 | + $filename = $this->path . '/' . $this->generateFilename($apiKey); |
|
58 | 58 | $this->checkNonceFile($filename); |
59 | 59 | |
60 | 60 | file_put_contents($filename, (int) file_get_contents($filename) + 1); |
@@ -88,7 +88,7 @@ |
||
88 | 88 | * |
89 | 89 | * @return float|null |
90 | 90 | */ |
91 | - public function getAvailableBalance(ApiKey $apiKey, string $coin):? float |
|
91 | + public function getAvailableBalance(ApiKey $apiKey, string $coin): ? float |
|
92 | 92 | { |
93 | 93 | $balances = $this->tradingApi->setApiKey($apiKey)->returnCompleteBalances(); |
94 | 94 |