Completed
Push — master ( 326962...ed7fcd )
by Adam
05:52
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/ReservationController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -140,7 +140,7 @@
 block discarded – undo
140 140
         $title = trans('navigation.choose_room');
141 141
 
142 142
         $dataset = Room::select('id', 'number', 'floor', 'capacity', 'price', 'comment')
143
-            ->whereNotIn('id', function($query) use ($dateStart, $dateEnd) {
143
+            ->whereNotIn('id', function ($query) use ($dateStart, $dateEnd) {
144 144
                 $query->select('room_id')->from('reservations')
145 145
                     ->where('date_start', '<', $dateEnd)
146 146
                     ->where('date_end', '>', $dateStart);
Please login to merge, or discard this patch.