Completed
Push — master ( bbe44d...bf8056 )
by Arthur
01:42 queued 10s
created
src/Components/WscMain.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -154,7 +154,7 @@  discard block
 block discarded – undo
154 154
 
155 155
 
156 156
     /**
157
-     * @return mixed|resource
157
+     * @return resource|null
158 158
      * @throws \InvalidArgumentException
159 159
      */
160 160
     private function getStreamContext()
@@ -257,7 +257,7 @@  discard block
 block discarded – undo
257 257
     /**
258 258
      * Sends message to opened socket connection client->server
259 259
      *
260
-     * @param $payload
260
+     * @param string $payload
261 261
      * @param string $opcode
262 262
      * @throws \InvalidArgumentException
263 263
      * @throws BadOpcodeException
@@ -329,7 +329,7 @@  discard block
 block discarded – undo
329 329
      *
330 330
      * @param integer $status http://tools.ietf.org/html/rfc6455#section-7.4
331 331
      * @param string $message A closing message, max 125 bytes.
332
-     * @return bool|null|string
332
+     * @return null|string
333 333
      * @throws \InvalidArgumentException
334 334
      * @throws BadOpcodeException
335 335
      * @throws BadUriException
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -205,7 +205,7 @@
 block discarded – undo
205 205
             . implode(
206 206
                 "\r\n",
207 207
                 array_map(
208
-                    function ($key, $value) {
208
+                    function($key, $value) {
209 209
                         return "$key: $value";
210 210
                     },
211 211
                     array_keys($headers),
Please login to merge, or discard this patch.
src/Components/ClientConfig.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -204,7 +204,7 @@
 block discarded – undo
204 204
      */
205 205
     public function setProxyAuth(string $userName, string $password): void
206 206
     {
207
-        $this->proxyAuth = (empty($userName) === false && empty($password) === false) ? base64_encode($userName.':'.$password) : null;
207
+        $this->proxyAuth = (empty($userName) === false && empty($password) === false) ? base64_encode($userName . ':' . $password) : null;
208 208
     }
209 209
 
210 210
     /**
Please login to merge, or discard this patch.