@@ -20,7 +20,7 @@ |
||
20 | 20 | |
21 | 21 | public function register() |
22 | 22 | { |
23 | - $this->app->bind(ExchangerContract::class, function () { |
|
23 | + $this->app->bind(ExchangerContract::class, function() { |
|
24 | 24 | $directory = storage_path('currency'); |
25 | 25 | |
26 | 26 | if (!file_exists($directory)) { |
@@ -37,7 +37,7 @@ |
||
37 | 37 | */ |
38 | 38 | public function getContents($uri) |
39 | 39 | { |
40 | - if ( ! $this->cache->contains($uri)) { |
|
40 | + if (!$this->cache->contains($uri)) { |
|
41 | 41 | $this->cache->save($uri, $contents = $this->download($uri), static::CACHE_LIFETIME); |
42 | 42 | return $contents; |
43 | 43 | } |
@@ -34,7 +34,7 @@ |
||
34 | 34 | * @param string $thousands_sep |
35 | 35 | * @return string |
36 | 36 | */ |
37 | - public function format($decimals = 0 , $dec_point = '.' , $thousands_sep = ',') |
|
37 | + public function format($decimals = 0, $dec_point = '.', $thousands_sep = ',') |
|
38 | 38 | { |
39 | 39 | return number_format($this->value, $decimals, $dec_point, $thousands_sep); |
40 | 40 | } |