Passed
Push — master ( 48d05f...3266a4 )
by Mohammad
08:38
created
src/Controllers/RoomController.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -20,12 +20,12 @@  discard block
 block discarded – undo
20 20
      */
21 21
     function enterRoom()
22 22
     {
23
-        $this->validate($this->request,[
23
+        $this->validate($this->request, [
24 24
             'room_id'=>'required'
25 25
         ]);
26
-        $room_id =$this->request->room_id;
26
+        $room_id = $this->request->room_id;
27 27
 
28
-        $this->validateRoom($room_id,true);
28
+        $this->validateRoom($room_id, true);
29 29
 
30 30
         $this->addMember($room_id);
31 31
     }
@@ -36,10 +36,10 @@  discard block
 block discarded – undo
36 36
     function exitRoom()
37 37
     {
38 38
 
39
-        $this->validate($this->request,[
39
+        $this->validate($this->request, [
40 40
             'room_id'=>'required'
41 41
         ]);
42
-        $room_id =$this->request->room_id;
42
+        $room_id = $this->request->room_id;
43 43
 
44 44
         $this->validateRoom($room_id);
45 45
 
Please login to merge, or discard this patch.