Completed
Push — php7-remove-phpunit-compat ( 9a3480...8378c0 )
by Alexander
11:59
created
framework/console/controllers/CacheController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -231,7 +231,7 @@
 block discarded – undo
231 231
     /**
232 232
      * Prompts user with confirmation if caches should be flushed.
233 233
      * @param array $cachesNames
234
-     * @return bool
234
+     * @return boolean|null
235 235
      */
236 236
     private function confirmFlush($cachesNames)
237 237
     {
Please login to merge, or discard this patch.
framework/console/controllers/FixtureController.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -310,7 +310,7 @@  discard block
 block discarded – undo
310 310
      * Prompts user with confirmation if fixtures should be loaded.
311 311
      * @param array $fixtures
312 312
      * @param array $except
313
-     * @return bool
313
+     * @return boolean|null
314 314
      */
315 315
     private function confirmLoad($fixtures, $except)
316 316
     {
@@ -342,7 +342,7 @@  discard block
 block discarded – undo
342 342
      * Prompts user with confirmation for fixtures that should be unloaded.
343 343
      * @param array $fixtures
344 344
      * @param array $except
345
-     * @return bool
345
+     * @return boolean|null
346 346
      */
347 347
     private function confirmUnload($fixtures, $except)
348 348
     {
Please login to merge, or discard this patch.
framework/validators/DateValidator.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -308,7 +308,7 @@
 block discarded – undo
308 308
      * Parses date string into UNIX timestamp
309 309
      *
310 310
      * @param string $value string representing date
311
-     * @return int|false a UNIX timestamp or `false` on failure.
311
+     * @return integer a UNIX timestamp or `false` on failure.
312 312
      */
313 313
     protected function parseDateValue($value)
314 314
     {
Please login to merge, or discard this patch.
framework/base/ErrorHandler.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -194,7 +194,7 @@
 block discarded – undo
194 194
      * @param string $message the error message.
195 195
      * @param string $file the filename that the error was raised in.
196 196
      * @param int $line the line number the error was raised at.
197
-     * @return bool whether the normal error handler continues.
197
+     * @return null|false whether the normal error handler continues.
198 198
      *
199 199
      * @throws ErrorException
200 200
      */
Please login to merge, or discard this patch.
framework/widgets/ActiveField.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -256,7 +256,7 @@
 block discarded – undo
256 256
 
257 257
     /**
258 258
      * Generates a label tag for [[attribute]].
259
-     * @param null|string|false $label the label to use. If `null`, the label will be generated via [[Model::getAttributeLabel()]].
259
+     * @param boolean $label the label to use. If `null`, the label will be generated via [[Model::getAttributeLabel()]].
260 260
      * If `false`, the generated field will not contain the label part.
261 261
      * Note that this will NOT be [[Html::encode()|encoded]].
262 262
      * @param null|array $options the tag options in terms of name-value pairs. It will be merged with [[labelOptions]].
Please login to merge, or discard this patch.
framework/console/Controller.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -284,7 +284,7 @@
 block discarded – undo
284 284
      *
285 285
      * @param string $message to echo out before waiting for user input
286 286
      * @param bool $default this value is returned if no selection is made.
287
-     * @return bool whether user confirmed.
287
+     * @return boolean|null whether user confirmed.
288 288
      * Will return true if [[interactive]] is false.
289 289
      */
290 290
     public function confirm($message, $default = false)
Please login to merge, or discard this patch.
framework/i18n/MessageFormatter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
     /**
53 53
      * Get the error code from the last operation
54 54
      * @link http://php.net/manual/en/messageformatter.geterrorcode.php
55
-     * @return string Code of the last error.
55
+     * @return integer Code of the last error.
56 56
      */
57 57
     public function getErrorCode()
58 58
     {
Please login to merge, or discard this patch.
framework/web/UrlManager.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -421,7 +421,7 @@  discard block
 block discarded – undo
421 421
      * @param string $cacheKey generated cache key to store data.
422 422
      * @param string $route the route (e.g. `site/index`).
423 423
      * @param array $params rule params.
424
-     * @return bool|string the created URL
424
+     * @return string|false the created URL
425 425
      * @see createUrl()
426 426
      * @since 2.0.8
427 427
      */
@@ -442,7 +442,7 @@  discard block
 block discarded – undo
442 442
 
443 443
     /**
444 444
      * Store rule (e.g. [[UrlRule]]) to internal cache
445
-     * @param $cacheKey
445
+     * @param string $cacheKey
446 446
      * @param UrlRuleInterface $rule
447 447
      * @since 2.0.8
448 448
      */
@@ -459,7 +459,7 @@  discard block
 block discarded – undo
459 459
      * Note that unlike [[\yii\helpers\Url::toRoute()]], this method always treats the given route
460 460
      * as an absolute route.
461 461
      *
462
-     * @param string|array $params use a string to represent a route (e.g. `site/index`),
462
+     * @param string[] $params use a string to represent a route (e.g. `site/index`),
463 463
      * or an array to represent a route with query parameters (e.g. `['site/index', 'param1' => 'value1']`).
464 464
      * @param string|null $scheme the scheme to use for the URL (either `http`, `https` or empty string
465 465
      * for protocol-relative URL).
Please login to merge, or discard this patch.
framework/web/UrlRule.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -334,7 +334,7 @@  discard block
 block discarded – undo
334 334
      * @param UrlManager $manager the URL manager
335 335
      * @param string $route the route. It should not have slashes at the beginning or the end.
336 336
      * @param array $params the parameters
337
-     * @return string|bool the created URL, or `false` if this rule cannot be used for creating this URL.
337
+     * @return false|string the created URL, or `false` if this rule cannot be used for creating this URL.
338 338
      */
339 339
     public function createUrl($manager, $route, $params)
340 340
     {
@@ -425,7 +425,7 @@  discard block
 block discarded – undo
425 425
      * When found - replaces this placeholder key with a appropriate name of matching parameter.
426 426
      * Used in [[parseRequest()]], [[createUrl()]].
427 427
      *
428
-     * @param array $matches result of `preg_match()` call
428
+     * @param string[] $matches result of `preg_match()` call
429 429
      * @return array input array with replaced placeholder keys
430 430
      * @see placeholders
431 431
      * @since 2.0.7
Please login to merge, or discard this patch.