Completed
Push — master ( d53ccf...d60caa )
by Ankit
03:18
created
src/Register.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -97,6 +97,9 @@
 block discarded – undo
97 97
 	}
98 98
 
99 99
 
100
+	/**
101
+	 * @param string $value
102
+	 */
100 103
 	public function onError($key, $value)
101 104
 	{
102 105
 		$this->flag = 1;
Please login to merge, or discard this patch.
src/Chat.php 1 patch
Doc Comments   +11 added lines patch added patch discarded remove patch
@@ -25,6 +25,9 @@  discard block
 block discarded – undo
25 25
         Online::setOnlineStatus($conn->userId);
26 26
     }
27 27
 
28
+    /**
29
+     * @param ConnectionInterface $conn
30
+     */
28 31
     public function setID($conn)
29 32
     {
30 33
         session_id($conn->WebSocket->request->getCookies()['PHPSESSID']);
@@ -136,12 +139,20 @@  discard block
 block discarded – undo
136 139
         return $obSidebar->loadSideBar($data);
137 140
     }
138 141
 
142
+    /**
143
+     * @param string $data
144
+     * @param boolean $para
145
+     */
139 146
     public function onConversation($data, $para)
140 147
     {
141 148
         $obConversation = new Conversation();
142 149
         return $obConversation->conversationLoad($data, $para);
143 150
     }
144 151
 
152
+    /**
153
+     * @param string $data
154
+     * @param boolean $para
155
+     */
145 156
     public function onReceiver($data, $para)
146 157
     {
147 158
         $obReceiver = new Receiver();
Please login to merge, or discard this patch.
src/Reply.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -82,6 +82,11 @@
 block discarded – undo
82 82
         return "Failed";
83 83
     }
84 84
 
85
+    /**
86
+     * @param string $identifier
87
+     * @param string $reply
88
+     * @param string $time
89
+     */
85 90
     public function updateMessages($query, $identifier, $reply, $userId, $time)
86 91
     {
87 92
         if($result = $this->connect->query($query))
Please login to merge, or discard this patch.
src/Session.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -10,6 +10,9 @@
 block discarded – undo
10 10
         $_SESSION[$key] = $value;
11 11
     }
12 12
 
13
+    /**
14
+     * @param string $key
15
+     */
13 16
     public static function get($key){
14 17
         return (isset($_SESSION[$key]) ? $_SESSION[$key] : null);
15 18
     }
Please login to merge, or discard this patch.