Completed
Push — master ( 4736fa...904b4e )
by Aleksandar
47:30 queued 26:53
created
src/Web/Action/EventAction.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Web\Action;
6 6
 
@@ -64,17 +64,17 @@  discard block
 block discarded – undo
64 64
     {
65 65
         $eventSlug = $request->getAttribute('event_slug');
66 66
         $event     = $this->eventService->fetchEventBySlug($eventSlug);
67
-        $attendees = [];
67
+        $attendees = [ ];
68 68
 
69 69
         // Fetch going ppl
70 70
         try {
71
-            if(strpos($event->event_url, 'meetup.com') !== false) {
71
+            if (strpos($event->event_url, 'meetup.com') !== false) {
72 72
                 $parts     = explode('/', $event->event_url);
73
-                $attendees = $this->meetupService->getMeetupAttendees($parts[count($parts) - 2]);
73
+                $attendees = $this->meetupService->getMeetupAttendees($parts[ count($parts) - 2 ]);
74 74
                 shuffle($attendees);
75 75
             }
76 76
         }
77
-        catch(\Exception $e) {
77
+        catch (\Exception $e) {
78 78
         }
79 79
 
80 80
         return new HtmlResponse($this->template->render('web::event', [
Please login to merge, or discard this patch.