Completed
Push — master ( d3a19f...990ada )
by Arthur
02:26
created
src/Components/WscMain.php 1 patch
Doc Comments   +7 added lines, -4 removed lines patch added patch discarded remove patch
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
     }
134 134
 
135 135
     /**
136
-     * @return mixed|resource
136
+     * @return resource|null
137 137
      * @throws \InvalidArgumentException
138 138
      */
139 139
     private function getStreamContext()
@@ -237,6 +237,9 @@  discard block
 block discarded – undo
237 237
         return $this->options['fragment_size'];
238 238
     }
239 239
 
240
+    /**
241
+     * @param string $payload
242
+     */
240 243
     public function send($payload, $opcode = CommonsContract::EVENT_TYPE_TEXT)
241 244
     {
242 245
         if (!$this->isConnected) {
@@ -269,10 +272,10 @@  discard block
 block discarded – undo
269 272
     }
270 273
 
271 274
     /**
272
-     * @param $final
273
-     * @param $payload
275
+     * @param boolean $final
276
+     * @param string $payload
274 277
      * @param $opcode
275
-     * @param $masked
278
+     * @param boolean $masked
276 279
      * @throws ConnectionException
277 280
      * @throws \Exception
278 281
      */
Please login to merge, or discard this patch.