Completed
Push — master ( ec9c11...6665cb )
by y
01:14
created
src/AbstractSocket.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -154,7 +154,7 @@  discard block
 block discarded – undo
154 154
      * @link https://php.net/socket_get_option
155 155
      *
156 156
      * @param int $option `SO_*` option constant.
157
-     * @return mixed The option's value. This is never `false`.
157
+     * @return integer The option's value. This is never `false`.
158 158
      * @throws SocketError
159 159
      */
160 160
     public function getOption (int $option) {
@@ -222,7 +222,7 @@  discard block
 block discarded – undo
222 222
      * @see await()
223 223
      *
224 224
      * @param int $channel `SocketInterface` channel constant.
225
-     * @param float|null $timeout Maximum seconds to block. `NULL` blocks forever. Defaults to a poll.
225
+     * @param integer $timeout Maximum seconds to block. `NULL` blocks forever. Defaults to a poll.
226 226
      * @return bool
227 227
      * @throws SocketError
228 228
      */
Please login to merge, or discard this patch.
src/StreamClient.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
      * @link https://php.net/socket_create_pair
24 24
      *
25 25
      * @param array $extra Variadic constructor arguments.
26
-     * @return static[] Two instances at indices `0` and `1`.
26
+     * @return StreamClient[] Two instances at indices `0` and `1`.
27 27
      * @throws SocketError
28 28
      */
29 29
     public static function newUnixPair (...$extra) {
Please login to merge, or discard this patch.
src/WebSocket/FrameReader.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@
 block discarded – undo
93 93
     /**
94 94
      * Constructs and yields all available frames from the peer.
95 95
      *
96
-     * @return Generator|Frame[]
96
+     * @return Generator
97 97
      */
98 98
     public function getFrames () {
99 99
         $this->buffer .= $this->client->recvAll();
Please login to merge, or discard this patch.