Completed
Pull Request — master (#12303)
by
unknown
09:44
created
src/View/ViewBuilder.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -240,7 +240,7 @@
 block discarded – undo
240 240
      *
241 241
      * `False` to remove current plugin name is deprecated as of 3.4.0. Use directly `null` instead.
242 242
      *
243
-     * @param string|null|false $name Plugin name.
243
+     * @param string|false $name Plugin name.
244 244
      *   Use null or false to remove the current plugin name.
245 245
      * @return $this
246 246
      */
Please login to merge, or discard this patch.
src/Error/ErrorHandler.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -167,7 +167,7 @@
 block discarded – undo
167 167
     /**
168 168
      * Method that can be easily stubbed in testing.
169 169
      *
170
-     * @param string|\Cake\Http\Response $response Either the message or response object.
170
+     * @param \Cake\Http\Response $response Either the message or response object.
171 171
      * @return void
172 172
      */
173 173
     protected function _sendResponse($response)
Please login to merge, or discard this patch.
src/Routing/RequestActionTrait.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -95,7 +95,7 @@
 block discarded – undo
95 95
      *    url will not automatically handle passed arguments in the $url parameter.
96 96
      * @param array $extra if array includes the key "return" it sets the autoRender to true.  Can
97 97
      *    also be used to submit GET/POST data, and passed arguments.
98
-     * @return mixed Boolean true or false on success/failure, or contents
98
+     * @return callable|null Boolean true or false on success/failure, or contents
99 99
      *    of rendered action if 'return' is set in $extra.
100 100
      * @deprecated 3.3.0 You should refactor your code to use View Cells instead of this method.
101 101
      */
Please login to merge, or discard this patch.
src/ORM/Behavior/TreeBehavior.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -598,7 +598,7 @@  discard block
 block discarded – undo
598 598
      * this method will return false
599 599
      *
600 600
      * @param \Cake\Datasource\EntityInterface $node The node to move
601
-     * @param int|bool $number How many places to move the node, or true to move to first position
601
+     * @param integer $number How many places to move the node, or true to move to first position
602 602
      * @throws \Cake\Datasource\Exception\RecordNotFoundException When node was not found
603 603
      * @return \Cake\Datasource\EntityInterface|bool $node The node after being moved or false on failure
604 604
      */
@@ -619,7 +619,7 @@  discard block
 block discarded – undo
619 619
      * Helper function used with the actual code for moveUp
620 620
      *
621 621
      * @param \Cake\Datasource\EntityInterface $node The node to move
622
-     * @param int|bool $number How many places to move the node, or true to move to first position
622
+     * @param integer $number How many places to move the node, or true to move to first position
623 623
      * @throws \Cake\Datasource\Exception\RecordNotFoundException When node was not found
624 624
      * @return \Cake\Datasource\EntityInterface|bool $node The node after being moved or false on failure
625 625
      */
@@ -688,7 +688,7 @@  discard block
 block discarded – undo
688 688
      * this method will return false
689 689
      *
690 690
      * @param \Cake\Datasource\EntityInterface $node The node to move
691
-     * @param int|bool $number How many places to move the node or true to move to last position
691
+     * @param integer $number How many places to move the node or true to move to last position
692 692
      * @throws \Cake\Datasource\Exception\RecordNotFoundException When node was not found
693 693
      * @return \Cake\Datasource\EntityInterface|bool the entity after being moved or false on failure
694 694
      */
@@ -709,7 +709,7 @@  discard block
 block discarded – undo
709 709
      * Helper function used with the actual code for moveDown
710 710
      *
711 711
      * @param \Cake\Datasource\EntityInterface $node The node to move
712
-     * @param int|bool $number How many places to move the node, or true to move to last position
712
+     * @param integer $number How many places to move the node, or true to move to last position
713 713
      * @throws \Cake\Datasource\Exception\RecordNotFoundException When node was not found
714 714
      * @return \Cake\Datasource\EntityInterface|bool $node The node after being moved or false on failure
715 715
      */
Please login to merge, or discard this patch.
src/Http/MiddlewareQueue.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
     /**
43 43
      * Constructor
44 44
      *
45
-     * @param array $middleware The list of middleware to append.
45
+     * @param callable[] $middleware The list of middleware to append.
46 46
      */
47 47
     public function __construct(array $middleware = [])
48 48
     {
Please login to merge, or discard this patch.
src/TestSuite/Fixture/TestFixture.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -265,7 +265,7 @@
 block discarded – undo
265 265
      * Gets/Sets the TableSchema instance used by this fixture.
266 266
      *
267 267
      * @param \Cake\Database\Schema\TableSchema|null $schema The table to set.
268
-     * @return \Cake\Database\Schema\TableSchema|null
268
+     * @return DatabaseTableSchemaInterface|null
269 269
      * @deprecated 3.5.0 Use getTableSchema/setTableSchema instead.
270 270
      */
271 271
     public function schema(TableSchema $schema = null)
Please login to merge, or discard this patch.
src/Filesystem/File.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -374,7 +374,7 @@
 block discarded – undo
374 374
     /**
375 375
      * Get md5 Checksum of file with previous check of Filesize
376 376
      *
377
-     * @param int|bool $maxsize in MB or true to force
377
+     * @param integer $maxsize in MB or true to force
378 378
      * @return string|false md5 Checksum {@link https://secure.php.net/md5_file See md5_file()}, or false in case of an error
379 379
      */
380 380
     public function md5($maxsize = 5)
Please login to merge, or discard this patch.
src/Validation/Validation.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -379,7 +379,7 @@  discard block
 block discarded – undo
379 379
      * - `ym` 2006/12 or 06/12 separators can be a space, period, dash, forward slash
380 380
      * - `y` 2006 just the year without any separators
381 381
      *
382
-     * @param string|\DateTimeInterface $check a valid date string/object
382
+     * @param string $check a valid date string/object
383 383
      * @param string|array $format Use a string or an array of the keys above.
384 384
      *    Arrays should be passed as ['dmy', 'mdy', etc]
385 385
      * @param string|null $regex If a custom regular expression is used this is the only validation that will occur.
@@ -481,7 +481,7 @@  discard block
 block discarded – undo
481 481
      * Validates time as 24hr (HH:MM) or am/pm ([H]H:MM[a|p]m)
482 482
      * Does not allow/validate seconds.
483 483
      *
484
-     * @param string|\DateTimeInterface $check a valid time string/object
484
+     * @param string $check a valid time string/object
485 485
      * @return bool Success
486 486
      */
487 487
     public static function time($check)
@@ -993,7 +993,7 @@  discard block
 block discarded – undo
993 993
     /**
994 994
      * Luhn algorithm
995 995
      *
996
-     * @param string|array $check Value to check.
996
+     * @param string $check Value to check.
997 997
      * @return bool Success
998 998
      * @see https://en.wikipedia.org/wiki/Luhn_algorithm
999 999
      */
Please login to merge, or discard this patch.
src/View/Helper/PaginatorHelper.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -493,7 +493,7 @@
 block discarded – undo
493 493
      *
494 494
      * @param array $options Pagination/URL options array
495 495
      * @param string|null $model Which model to paginate on
496
-     * @param array|bool $urlOptions Array of options or bool `fullBase` for BC reasons.
496
+     * @param boolean $urlOptions Array of options or bool `fullBase` for BC reasons.
497 497
      * @return string By default, returns a full pagination URL string for use in non-standard contexts (i.e. JavaScript)
498 498
      * @link https://book.cakephp.org/3.0/en/views/helpers/paginator.html#generating-pagination-urls
499 499
      */
Please login to merge, or discard this patch.