Completed
Branch master (b6e778)
by Nick
03:45
created
Category
app/Jobs/UpdateExchangeRates.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
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();
Please login to merge, or discard this patch.
app/Providers/FormRequestServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.