Completed
Push — master ( b39695...9f262c )
by Andrey
07:41
created
web/ckfinder/core/connector/php/vendor/aws/aws-sdk-php/src/functions.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -12,9 +12,9 @@  discard block
 block discarded – undo
12 12
 /**
13 13
  * Returns a function that always returns the same value;
14 14
  *
15
- * @param mixed $value Value to return.
15
+ * @param FulfilledPromise $value Value to return.
16 16
  *
17
- * @return callable
17
+ * @return \Closure
18 18
  */
19 19
 function constantly($value)
20 20
 {
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
 /**
25 25
  * Filters values that do not satisfy the predicate function $pred.
26 26
  *
27
- * @param mixed    $iterable Iterable sequence of data.
27
+ * @param \Iterator    $iterable Iterable sequence of data.
28 28
  * @param callable $pred Function that accepts a value and returns true/false
29 29
  *
30 30
  * @return \Generator
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
 /**
42 42
  * Applies a map function $f to each value in a collection.
43 43
  *
44
- * @param mixed    $iterable Iterable sequence of data.
44
+ * @param \Iterator    $iterable Iterable sequence of data.
45 45
  * @param callable $f        Map function to apply.
46 46
  *
47 47
  * @return \Generator
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
  * value in the sequence and yields the application of the map function to each
59 59
  * value.
60 60
  *
61
- * @param mixed    $iterable Iterable sequence of data.
61
+ * @param ResultPaginator    $iterable Iterable sequence of data.
62 62
  * @param callable $f        Map function to apply.
63 63
  *
64 64
  * @return \Generator
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
  *     $fn = \Aws\or_chain($a, $b);
108 108
  *     echo $fn(1, 2); // 3
109 109
  *
110
- * @return callable
110
+ * @return \Closure
111 111
  */
112 112
 function or_chain()
113 113
 {
Please login to merge, or discard this patch.
core/connector/php/vendor/aws/aws-sdk-php/src/S3/S3EndpointMiddleware.php 1 patch
Doc Comments   +23 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
      * @param string $region
48 48
      * @param array  $options
49 49
      *
50
-     * @return callable
50
+     * @return \Closure
51 51
      */
52 52
     public static function wrap($region, array $options)
53 53
     {
@@ -56,6 +56,9 @@  discard block
 block discarded – undo
56 56
         };
57 57
     }
58 58
 
59
+    /**
60
+     * @param string $region
61
+     */
59 62
     public function __construct(
60 63
         callable $nextHandler,
61 64
         $region,
@@ -150,6 +153,11 @@  discard block
 block discarded – undo
150 153
             && S3Client::isBucketDnsCompatible($command['Bucket']);
151 154
     }
152 155
 
156
+    /**
157
+     * @param string $host
158
+     *
159
+     * @return string
160
+     */
153 161
     private function getBucketStyleHost(CommandInterface $command, $host)
154 162
     {
155 163
         // For operations on the base host (e.g. ListBuckets)
@@ -195,11 +203,17 @@  discard block
 block discarded – undo
195 203
         return $request;
196 204
     }
197 205
 
206
+    /**
207
+     * @return string
208
+     */
198 209
     private function getDualStackHost()
199 210
     {
200 211
         return "s3.dualstack.{$this->region}.amazonaws.com";
201 212
     }
202 213
 
214
+    /**
215
+     * @param string $pattern
216
+     */
203 217
     private function applyAccelerateEndpoint(
204 218
         CommandInterface $command,
205 219
         RequestInterface $request,
@@ -216,11 +230,19 @@  discard block
 block discarded – undo
216 230
         return $request;
217 231
     }
218 232
 
233
+    /**
234
+     * @return string
235
+     */
219 236
     private function getAccelerateHost(CommandInterface $command, $pattern)
220 237
     {
221 238
         return "{$command['Bucket']}.{$pattern}.amazonaws.com";
222 239
     }
223 240
 
241
+    /**
242
+     * @param string $path
243
+     *
244
+     * @return string
245
+     */
224 246
     private function getBucketlessPath($path, CommandInterface $command)
225 247
     {
226 248
         $pattern = '/^\\/' . preg_quote($command['Bucket'], '/') . '/';
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/league/flysystem/src/Adapter/Ftp.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -513,7 +513,7 @@
 block discarded – undo
513 513
     }
514 514
 
515 515
     /**
516
-     * @return null|string
516
+     * @return boolean
517 517
      */
518 518
     protected function isPureFtpdServer()
519 519
     {
Please login to merge, or discard this patch.
php/vendor/monolog/monolog/src/Monolog/Formatter/HtmlFormatter.php 1 patch
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
      * Formats a log record.
80 80
      *
81 81
      * @param  array $record A record to format
82
-     * @return mixed The formatted record
82
+     * @return string The formatted record
83 83
      */
84 84
     public function format(array $record)
85 85
     {
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
      * Formats a set of log records.
114 114
      *
115 115
      * @param  array $records A set of records to format
116
-     * @return mixed The formatted set of records
116
+     * @return string The formatted set of records
117 117
      */
118 118
     public function formatBatch(array $records)
119 119
     {
@@ -125,6 +125,9 @@  discard block
 block discarded – undo
125 125
         return $message;
126 126
     }
127 127
 
128
+    /**
129
+     * @return string
130
+     */
128 131
     protected function convertToString($data)
129 132
     {
130 133
         if (null === $data || is_scalar($data)) {
Please login to merge, or discard this patch.
php/vendor/monolog/monolog/src/Monolog/Formatter/NormalizerFormatter.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -113,6 +113,9 @@  discard block
 block discarded – undo
113 113
         return '[unknown('.gettype($data).')]';
114 114
     }
115 115
 
116
+    /**
117
+     * @param \Throwable $e
118
+     */
116 119
     protected function normalizeException($e)
117 120
     {
118 121
         // TODO 2.0 only check for Throwable
@@ -277,6 +280,7 @@  discard block
 block discarded – undo
277 280
      * can be used as a callback for array_walk_recursive.
278 281
      *
279 282
      * @param mixed &$data Input to check and convert if needed
283
+     * @param string $data
280 284
      * @private
281 285
      */
282 286
     public function detectAndCleanUtf8(&$data)
@@ -284,6 +288,10 @@  discard block
 block discarded – undo
284 288
         if (is_string($data) && !preg_match('//u', $data)) {
285 289
             $data = preg_replace_callback(
286 290
                 '/[\x80-\xFF]+/',
291
+
292
+                /**
293
+                 * @param string $m
294
+                 */
287 295
                 function ($m) { return utf8_encode($m[0]); },
288 296
                 $data
289 297
             );
Please login to merge, or discard this patch.
core/connector/php/vendor/symfony/http-kernel/Profiler/Profiler.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -224,7 +224,7 @@  discard block
 block discarded – undo
224 224
     /**
225 225
      * Gets the Collectors associated with this profiler.
226 226
      *
227
-     * @return array An array of collectors
227
+     * @return DataCollectorInterface[] An array of collectors
228 228
      */
229 229
     public function all()
230 230
     {
@@ -284,6 +284,9 @@  discard block
 block discarded – undo
284 284
         return $this->collectors[$name];
285 285
     }
286 286
 
287
+    /**
288
+     * @param string $value
289
+     */
287 290
     private function getTimestamp($value)
288 291
     {
289 292
         if (null === $value || '' == $value) {
Please login to merge, or discard this patch.
models/ArticleSearch.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
      *
52 52
      * @param array $params
53 53
      *
54
-     * @return ActiveDataProvider
54
+     * @return \yii\data\ActiveDataProvider
55 55
      */
56 56
     public function search($params)
57 57
     {
Please login to merge, or discard this patch.
models/CategorySearch.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
      *
52 52
      * @param array $params
53 53
      *
54
-     * @return ActiveDataProvider
54
+     * @return \yii\data\ActiveDataProvider
55 55
      */
56 56
     public function search($params)
57 57
     {
Please login to merge, or discard this patch.