Completed
Pull Request — master (#207)
by Thomas
03:39
created
vendor/guzzlehttp/ringphp/src/Client/StreamHandler.php 1 patch
Doc Comments   +11 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,6 +38,10 @@  discard block
 block discarded – undo
38 38
         }
39 39
     }
40 40
 
41
+    /**
42
+     * @param string $url
43
+     * @param resource $stream
44
+     */
41 45
     private function createResponse(array $request, $url, $stream)
42 46
     {
43 47
         $hdrs = $this->lastHeaders;
@@ -121,7 +125,7 @@  discard block
 block discarded – undo
121 125
      * @param string        $url
122 126
      * @param RingException $e
123 127
      *
124
-     * @return array
128
+     * @return CompletedFutureArray
125 129
      */
126 130
     private function createErrorResponse($url, RingException $e)
127 131
     {
@@ -180,6 +184,9 @@  discard block
 block discarded – undo
180 184
         return $resource;
181 185
     }
182 186
 
187
+    /**
188
+     * @param string $url
189
+     */
183 190
     private function createStream($url, array $request)
184 191
     {
185 192
         static $methods;
@@ -391,6 +398,9 @@  discard block
 block discarded – undo
391 398
         );
392 399
     }
393 400
 
401
+    /**
402
+     * @param resource $context
403
+     */
394 404
     private function createStreamResource(
395 405
         $url,
396 406
         array $request,
Please login to merge, or discard this patch.
vendor/guzzlehttp/ringphp/src/Core.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
      *
17 17
      * @param callable[] $functions Array of functions to proxy to.
18 18
      *
19
-     * @return callable
19
+     * @return \Closure
20 20
      */
21 21
     public static function callArray(array $functions)
22 22
     {
Please login to merge, or discard this patch.
vendor/guzzlehttp/streams/src/LimitStream.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
      * @param StreamInterface $stream Stream to wrap
21 21
      * @param int             $limit  Total number of bytes to allow to be read
22 22
      *                                from the stream. Pass -1 for no limit.
23
-     * @param int|null        $offset Position to seek to before reading (only
23
+     * @param integer        $offset Position to seek to before reading (only
24 24
      *                                works on seekable streams).
25 25
      */
26 26
     public function __construct(
Please login to merge, or discard this patch.
vendor/guzzlehttp/streams/src/PumpStream.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -144,6 +144,9 @@
 block discarded – undo
144 144
         return isset($this->metadata[$key]) ? $this->metadata[$key] : null;
145 145
     }
146 146
 
147
+    /**
148
+     * @param integer $length
149
+     */
147 150
     private function pump($length)
148 151
     {
149 152
         if ($this->source) {
Please login to merge, or discard this patch.
vendor/guzzlehttp/streams/src/StreamDecoratorTrait.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -114,6 +114,9 @@
 block discarded – undo
114 114
         return $this->stream->isSeekable();
115 115
     }
116 116
 
117
+    /**
118
+     * @param integer $offset
119
+     */
117 120
     public function seek($offset, $whence = SEEK_SET)
118 121
     {
119 122
         return $this->stream->seek($offset, $whence);
Please login to merge, or discard this patch.
vendor/guzzlehttp/streams/src/Utils.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -156,7 +156,7 @@
 block discarded – undo
156 156
      * @param StreamInterface $stream    Stream to read from
157 157
      * @param int             $maxLength Maximum buffer length
158 158
      *
159
-     * @return string|bool
159
+     * @return string
160 160
      */
161 161
     public static function readline(StreamInterface $stream, $maxLength = null)
162 162
     {
Please login to merge, or discard this patch.
vendor/symfony/console/Application.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -1064,6 +1064,9 @@  discard block
 block discarded – undo
1064 1064
         $this->defaultCommand = $commandName;
1065 1065
     }
1066 1066
 
1067
+    /**
1068
+     * @param string $string
1069
+     */
1067 1070
     private function stringWidth($string)
1068 1071
     {
1069 1072
         if (!function_exists('mb_strwidth')) {
@@ -1077,6 +1080,9 @@  discard block
 block discarded – undo
1077 1080
         return mb_strwidth($string, $encoding);
1078 1081
     }
1079 1082
 
1083
+    /**
1084
+     * @param integer $width
1085
+     */
1080 1086
     private function splitStringByWidth($string, $width)
1081 1087
     {
1082 1088
         // str_split is not suitable for multi-byte characters, we should use preg_split to get char array properly.
Please login to merge, or discard this patch.
vendor/symfony/console/Formatter/OutputFormatter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -180,7 +180,7 @@
 block discarded – undo
180 180
      *
181 181
      * @param string $string
182 182
      *
183
-     * @return OutputFormatterStyle|bool false if string is not format string
183
+     * @return OutputFormatterStyleInterface|null false if string is not format string
184 184
      */
185 185
     private function createStyleFromString($string)
186 186
     {
Please login to merge, or discard this patch.
vendor/symfony/console/Helper/DialogHelper.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
      * @param string          $errorMessage Message which will be shown if invalid value from choice list would be picked
47 47
      * @param bool            $multiselect  Select more than one value separated by comma
48 48
      *
49
-     * @return int|string|array The selected value or values (the key of the choices array)
49
+     * @return string The selected value or values (the key of the choices array)
50 50
      *
51 51
      * @throws \InvalidArgumentException
52 52
      */
@@ -334,13 +334,13 @@  discard block
 block discarded – undo
334 334
      * otherwise.
335 335
      *
336 336
      * @param OutputInterface $output       An Output instance
337
-     * @param string|array    $question     The question to ask
337
+     * @param string    $question     The question to ask
338 338
      * @param callable        $validator    A PHP callback
339 339
      * @param int|false       $attempts     Max number of times to ask before giving up (false by default, which means infinite)
340 340
      * @param string          $default      The default answer if none is given by the user
341 341
      * @param array           $autocomplete List of values to autocomplete
342 342
      *
343
-     * @return mixed
343
+     * @return string
344 344
      *
345 345
      * @throws \Exception When any of the validators return an error
346 346
      */
@@ -399,7 +399,7 @@  discard block
 block discarded – undo
399 399
     /**
400 400
      * Returns the helper's input stream.
401 401
      *
402
-     * @return resource|null The input stream or null if the default STDIN is used
402
+     * @return resource The input stream or null if the default STDIN is used
403 403
      */
404 404
     public function getInputStream()
405 405
     {
Please login to merge, or discard this patch.