Completed
Push — master ( f58c14...cabe51 )
by Andrey
07:14
created
connector/php/vendor/guzzlehttp/guzzle/src/Handler/CurlMultiHandler.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 
4 4
 use GuzzleHttp\Promise as P;
5 5
 use GuzzleHttp\Promise\Promise;
6
-use GuzzleHttp\Psr7;
7 6
 use Psr\Http\Message\RequestInterface;
8 7
 
9 8
 /**
Please login to merge, or discard this patch.
core/connector/php/vendor/guzzlehttp/guzzle/src/Handler/MockHandler.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 use GuzzleHttp\Exception\RequestException;
5 5
 use GuzzleHttp\HandlerStack;
6 6
 use GuzzleHttp\Promise\PromiseInterface;
7
-use GuzzleHttp\Promise\RejectedPromise;
8 7
 use GuzzleHttp\TransferStats;
9 8
 use Psr\Http\Message\RequestInterface;
10 9
 use Psr\Http\Message\ResponseInterface;
Please login to merge, or discard this patch.
core/connector/php/vendor/guzzlehttp/guzzle/src/Handler/StreamHandler.php 2 patches
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -71,6 +71,9 @@  discard block
 block discarded – undo
71 71
         }
72 72
     }
73 73
 
74
+    /**
75
+     * @param RequestException $error
76
+     */
74 77
     private function invokeStats(
75 78
         array $options,
76 79
         RequestInterface $request,
@@ -90,6 +93,10 @@  discard block
 block discarded – undo
90 93
         }
91 94
     }
92 95
 
96
+    /**
97
+     * @param resource $stream
98
+     * @param double|null $startTime
99
+     */
93 100
     private function createResponse(
94 101
         RequestInterface $request,
95 102
         array $options,
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 use GuzzleHttp\Exception\RequestException;
5 5
 use GuzzleHttp\Exception\ConnectException;
6 6
 use GuzzleHttp\Promise\FulfilledPromise;
7
-use GuzzleHttp\Promise\RejectedPromise;
8 7
 use GuzzleHttp\Promise\PromiseInterface;
9 8
 use GuzzleHttp\Psr7;
10 9
 use GuzzleHttp\TransferStats;
Please login to merge, or discard this patch.
core/connector/php/vendor/guzzlehttp/guzzle/src/RedirectMiddleware.php 1 patch
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
     /**
77 77
      * @param RequestInterface  $request
78 78
      * @param array             $options
79
-     * @param ResponseInterface|PromiseInterface $response
79
+     * @param ResponseInterface $response
80 80
      *
81 81
      * @return ResponseInterface|PromiseInterface
82 82
      */
@@ -118,6 +118,10 @@  discard block
 block discarded – undo
118 118
         return $promise;
119 119
     }
120 120
 
121
+    /**
122
+     * @param string $uri
123
+     * @param integer $statusCode
124
+     */
121 125
     private function withTracking(PromiseInterface $promise, $uri, $statusCode)
122 126
     {
123 127
         return $promise->then(
Please login to merge, or discard this patch.
core/connector/php/vendor/guzzlehttp/guzzle/src/RetryMiddleware.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,6 @@
 block discarded – undo
2 2
 namespace GuzzleHttp;
3 3
 
4 4
 use GuzzleHttp\Promise\PromiseInterface;
5
-use GuzzleHttp\Promise\RejectedPromise;
6
-use GuzzleHttp\Psr7;
7 5
 use Psr\Http\Message\RequestInterface;
8 6
 use Psr\Http\Message\ResponseInterface;
9 7
 
Please login to merge, or discard this patch.
ckfinder/core/connector/php/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.
ckfinder/core/connector/php/vendor/guzzlehttp/promises/src/functions.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -401,7 +401,7 @@
 block discarded – undo
401 401
  * is rejected. If any promise is rejected, then the aggregate promise is
402 402
  * rejected with the encountered rejection.
403 403
  *
404
- * @param mixed        $iterable
404
+ * @param \Generator        $iterable
405 405
  * @param int|callable $concurrency
406 406
  * @param callable     $onFulfilled
407 407
  *
Please login to merge, or discard this patch.
web/ckfinder/core/connector/php/vendor/guzzlehttp/promises/src/Promise.php 1 patch
Doc Comments   +11 added lines patch added patch discarded remove patch
@@ -118,6 +118,9 @@  discard block
 block discarded – undo
118 118
         $this->settle(self::REJECTED, $reason);
119 119
     }
120 120
 
121
+    /**
122
+     * @param string $state
123
+     */
121 124
     private function settle($state, $value)
122 125
     {
123 126
         if ($this->state !== self::PENDING) {
@@ -164,11 +167,19 @@  discard block
 block discarded – undo
164 167
         } else {
165 168
             // Resolve the handlers when the forwarded promise is resolved.
166 169
             $value->then(
170
+
171
+                /**
172
+                 * @param string $value
173
+                 */
167 174
                 static function ($value) use ($handlers) {
168 175
                     foreach ($handlers as $handler) {
169 176
                         self::callHandler(1, $value, $handler);
170 177
                     }
171 178
                 },
179
+
180
+                /**
181
+                 * @param string $reason
182
+                 */
172 183
                 static function ($reason) use ($handlers) {
173 184
                     foreach ($handlers as $handler) {
174 185
                         self::callHandler(2, $reason, $handler);
Please login to merge, or discard this patch.
web/ckfinder/core/connector/php/vendor/guzzlehttp/psr7/src/PumpStream.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -148,6 +148,9 @@
 block discarded – undo
148 148
         return isset($this->metadata[$key]) ? $this->metadata[$key] : null;
149 149
     }
150 150
 
151
+    /**
152
+     * @param integer $length
153
+     */
151 154
     private function pump($length)
152 155
     {
153 156
         if ($this->source) {
Please login to merge, or discard this patch.