Completed
Push — master ( 7c9e4e...388b15 )
by Arthur
02:59
created
src/Components/WscMain.php 1 patch
Doc Comments   +7 added lines, -4 removed lines patch added patch discarded remove patch
@@ -137,7 +137,7 @@  discard block
 block discarded – undo
137 137
     }
138 138
 
139 139
     /**
140
-     * @return mixed|resource
140
+     * @return resource|null
141 141
      * @throws \InvalidArgumentException
142 142
      */
143 143
     private function getStreamContext()
@@ -257,6 +257,9 @@  discard block
 block discarded – undo
257 257
         return $this;
258 258
     }
259 259
 
260
+    /**
261
+     * @param string $payload
262
+     */
260 263
     public function send($payload, $opcode = CommonsContract::EVENT_TYPE_TEXT)
261 264
     {
262 265
         if (!$this->isConnected) {
@@ -289,10 +292,10 @@  discard block
 block discarded – undo
289 292
     }
290 293
 
291 294
     /**
292
-     * @param $final
293
-     * @param $payload
295
+     * @param boolean $final
296
+     * @param string $payload
294 297
      * @param $opcode
295
-     * @param $masked
298
+     * @param boolean $masked
296 299
      * @throws ConnectionException
297 300
      * @throws \Exception
298 301
      */
Please login to merge, or discard this patch.