Passed
Push — master ( 723ac1...e17ce3 )
by Martin
06:24
created
app/Http/Controllers/TicketShop/EventsController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,11 +26,11 @@
 block discarded – undo
26 26
             Cache::put('deletedLostOrders', '1', $expiresAt);
27 27
         }
28 28
 
29
-        $projects = Project::where('is_archived', 0)->with(['events' => function ($query) {
29
+        $projects = Project::where('is_archived', 0)->with(['events' => function($query) {
30 30
             $query->where('customer_sell_stop', '>=', new \DateTime())->orderBy('start_date', 'ASC');
31 31
         }, 'events.location'])->get();
32 32
 
33
-        $currentProjects = $projects->filter(function ($project) {
33
+        $currentProjects = $projects->filter(function($project) {
34 34
             return $project->events->count() > 0;
35 35
         })->all();
36 36
 
Please login to merge, or discard this patch.