Passed
Push — master ( 48d05f...3266a4 )
by Mohammad
08:38
created
src/Receiver.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -140,7 +140,7 @@  discard block
 block discarded – undo
140 140
 
141 141
     /**
142 142
      * @param $msg
143
-     * @param $from
143
+     * @param ConnectionInterface $from
144 144
      * @throws WebSocketException
145 145
      */
146 146
     function checkForRequiredInMessage($msg, $from)
@@ -155,7 +155,7 @@  discard block
 block discarded – undo
155 155
     }
156 156
 
157 157
     /**
158
-     * @param $clonedObject
158
+     * @param Receiver $clonedObject
159 159
      * @param $clone
160 160
      */
161 161
     function cloneProperties($clonedObject, $clone)
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
         $this->userAuthSocketMapper = [];
47 47
 
48 48
         $this->mainRoutes();
49
-        include base_path() . '/routes/websocket.php';
49
+        include base_path().'/routes/websocket.php';
50 50
         $this->routes = WsRoute::getRoutes();
51 51
     }
52 52
 
Please login to merge, or discard this patch.
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.