Completed
Pull Request — master (#207)
by Thomas
03:39
created
vendor/guzzlehttp/guzzle/src/UriTemplate.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -35,6 +35,9 @@
 block discarded – undo
35 35
         '%40', '%21', '%24', '%26', '%27', '%28', '%29', '%2A', '%2B', '%2C',
36 36
         '%3B', '%3D');
37 37
 
38
+    /**
39
+     * @param string $template
40
+     */
38 41
     public function expand($template, array $variables)
39 42
     {
40 43
         if (false === strpos($template, '{')) {
Please login to merge, or discard this patch.
vendor/guzzlehttp/ringphp/src/Client/CurlMultiHandler.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -166,6 +166,9 @@
 block discarded – undo
166 166
         }
167 167
     }
168 168
 
169
+    /**
170
+     * @param integer $id
171
+     */
169 172
     private function removeProcessed($id)
170 173
     {
171 174
         if (isset($this->handles[$id])) {
Please login to merge, or discard this patch.
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.