@@ -194,8 +194,8 @@ |
||
| 194 | 194 | */ |
| 195 | 195 | protected function prepareCode($code = null) |
| 196 | 196 | { |
| 197 | - if (! $code) { |
|
| 198 | - $code = $this->config("default", 'USD'); |
|
| 197 | + if (!$code) { |
|
| 198 | + $code = $this->config("default", 'USD'); |
|
| 199 | 199 | } |
| 200 | 200 | |
| 201 | 201 | if (array_key_exists($code, $this->getCurrencies())) { |
@@ -31,7 +31,7 @@ |
||
| 31 | 31 | |
| 32 | 32 | public function registerCurrency() |
| 33 | 33 | { |
| 34 | - $this->app->singleton('currency', function ($app) { |
|
| 34 | + $this->app->singleton('currency', function($app) { |
|
| 35 | 35 | return new Currency($app->config->get('currency', [])); |
| 36 | 36 | }); |
| 37 | 37 | |