Completed
Push — master ( bd7888...7970f7 )
by Adam
06:00
created
app/Providers/RouteServiceProvider.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -52,8 +52,8 @@  discard block
 block discarded – undo
52 52
     protected function mapWebRoutes()
53 53
     {
54 54
         Route::middleware('web')
55
-             ->namespace($this->namespace)
56
-             ->group(base_path('routes/web.php'));
55
+                ->namespace($this->namespace)
56
+                ->group(base_path('routes/web.php'));
57 57
     }
58 58
 
59 59
     /**
@@ -66,8 +66,8 @@  discard block
 block discarded – undo
66 66
     protected function mapApiRoutes()
67 67
     {
68 68
         Route::prefix('api')
69
-             ->middleware('api')
70
-             ->namespace($this->namespace)
71
-             ->group(base_path('routes/api.php'));
69
+                ->middleware('api')
70
+                ->namespace($this->namespace)
71
+                ->group(base_path('routes/api.php'));
72 72
     }
73 73
 }
Please login to merge, or discard this patch.
app/Http/Controllers/Controller.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
     {
35 35
         // Zapobiegaj infinite loop
36 36
         if (back()->getTargetUrl() === url()->current()) {
37
-            Log::info('Request loop: '. back()->getTargetUrl());
37
+            Log::info('Request loop: '.back()->getTargetUrl());
38 38
             return redirect(route('room.index'))->with($data);
39 39
         }
40 40
 
Please login to merge, or discard this patch.
app/Http/Controllers/ReservationController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -138,7 +138,7 @@
 block discarded – undo
138 138
             $guest = Guest::select('id')->findOrFail($guestId);
139 139
         } catch (ModelNotFoundException $e) {
140 140
             // TODO: logger helper
141
-            Log::warning(__CLASS__.'::'.__FUNCTION__.' at '.__LINE__.': '. $e->getMessage());
141
+            Log::warning(__CLASS__.'::'.__FUNCTION__.' at '.__LINE__.': '.$e->getMessage());
142 142
             return $this->returnBack([
143 143
                 'message'     => trans('general.object_not_found'),
144 144
                 'alert-class' => 'alert-danger',
Please login to merge, or discard this patch.