Test Setup Failed
Pull Request — dev (#161)
by Nick
09:37 queued 04:05
created
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.
app/Jobs/UpdateExchangeRates.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
             $currencies = Currency::all();
56 56
             $exchangeRates = $exchangeRatesApiService->get('latest.json', null, ['base' => config('currency.default')]);
57 57
 
58
-            $currencies->each(function (Currency $currency) use ($exchangeRates): void {
58
+            $currencies->each(function(Currency $currency) use ($exchangeRates): void {
59 59
                 if (array_key_exists($currency->getIsoAlpha(), $exchangeRates['rates'])) {
60 60
                     $currency->setAttribute('exchange_rate', $exchangeRates['rates'][$currency->getIsoAlpha()]);
61 61
                     $currency->save();
Please login to merge, or discard this patch.