@@ -34,7 +34,7 @@ |
||
34 | 34 | $currencies = Currency::all(); |
35 | 35 | $exchangeRates = $exchangeRatesApiService->get('latest.json', null, ['base' => config('currency.default')]); |
36 | 36 | |
37 | - $currencies->each(function (Currency $currency) use ($exchangeRates) { |
|
37 | + $currencies->each(function(Currency $currency) use ($exchangeRates) { |
|
38 | 38 | if (array_key_exists($currency->getIsoAlpha(), $exchangeRates['rates'])) { |
39 | 39 | $currency->setAttribute('exchange_rate', $exchangeRates['rates'][$currency->getIsoAlpha()]); |
40 | 40 | $currency->save(); |
@@ -18,7 +18,7 @@ |
||
18 | 18 | */ |
19 | 19 | public function register(): void |
20 | 20 | { |
21 | - $this->app->singleton(AbstractFormRequest::class, function ($app) { |
|
21 | + $this->app->singleton(AbstractFormRequest::class, function($app) { |
|
22 | 22 | $routeParts = explode('@', $app['router']->currentRouteAction()); |
23 | 23 | $routeAction = end($routeParts); |
24 | 24 |