Passed
Push — master ( aafdd0...514e99 )
by Mohammad
04:58
created
src/Traits/WebSocketMessagesManager.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
     /**
22 22
      * @param $request
23 23
      * @param ConnectionInterface $from
24
-     * @param $error
24
+     * @param string $error
25 25
      * @throws WebSocketException
26 26
      */
27 27
     function error($request,ConnectionInterface $from, $error)
@@ -101,6 +101,9 @@  discard block
 block discarded – undo
101 101
         ];
102 102
     }
103 103
 
104
+    /**
105
+     * @param integer $user_id
106
+     */
104 107
     function isOnline($user_id)
105 108
     {
106 109
         if(array_key_exists($user_id,$this->userAuthSocketMapper))
Please login to merge, or discard this patch.