Completed
Push — master ( 1f28ab...083bb9 )
by y
01:17
created
src/AbstractSocket.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -151,7 +151,7 @@  discard block
 block discarded – undo
151 151
      * @see https://php.net/socket_get_option
152 152
      *
153 153
      * @param int $option `SO_*` option constant.
154
-     * @return mixed The option's value. This is never `false`.
154
+     * @return integer The option's value. This is never `false`.
155 155
      * @throws SocketError
156 156
      */
157 157
     public function getOption (int $option) {
@@ -213,7 +213,7 @@  discard block
 block discarded – undo
213 213
      * @see await()
214 214
      *
215 215
      * @param int $channel `SocketInterface` channel constant.
216
-     * @param float|null $timeout Maximum seconds to block. `NULL` blocks forever. Defaults to a poll.
216
+     * @param integer $timeout Maximum seconds to block. `NULL` blocks forever. Defaults to a poll.
217 217
      * @return bool
218 218
      * @throws SocketError
219 219
      */
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
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
      * @see https://php.net/socket_create_pair
23 23
      *
24 24
      * @param array $extra Variadic constructor arguments.
25
-     * @return static[] Two instances at indices `0` and `1`.
25
+     * @return StreamClient[] Two instances at indices `0` and `1`.
26 26
      * @throws SocketError
27 27
      */
28 28
     public static function newUnixPair (...$extra) {
Please login to merge, or discard this patch.