@@ -214,7 +214,7 @@ |
||
214 | 214 | * Check that a value is a valid choice for this option. |
215 | 215 | * |
216 | 216 | * @param string|bool $value The choice to validate. |
217 | - * @return true |
|
217 | + * @return boolean |
|
218 | 218 | * @throws \Cake\Console\Exception\ConsoleException |
219 | 219 | */ |
220 | 220 | public function validChoice($value) |
@@ -653,7 +653,7 @@ discard block |
||
653 | 653 | /** |
654 | 654 | * Creates a new save point for nested transactions. |
655 | 655 | * |
656 | - * @param string|int $name The save point name. |
|
656 | + * @param string $name The save point name. |
|
657 | 657 | * @return void |
658 | 658 | */ |
659 | 659 | public function createSavePoint($name) |
@@ -664,7 +664,7 @@ discard block |
||
664 | 664 | /** |
665 | 665 | * Releases a save point by its name. |
666 | 666 | * |
667 | - * @param string|int $name The save point name. |
|
667 | + * @param string $name The save point name. |
|
668 | 668 | * @return void |
669 | 669 | */ |
670 | 670 | public function releaseSavePoint($name) |
@@ -675,7 +675,7 @@ discard block |
||
675 | 675 | /** |
676 | 676 | * Rollback a save point by its name. |
677 | 677 | * |
678 | - * @param string|int $name The save point name. |
|
678 | + * @param integer $name The save point name. |
|
679 | 679 | * @return void |
680 | 680 | */ |
681 | 681 | public function rollbackSavepoint($name) |
@@ -391,7 +391,7 @@ discard block |
||
391 | 391 | * $query->distinct('name', true); |
392 | 392 | * ``` |
393 | 393 | * |
394 | - * @param array|\Cake\Database\ExpressionInterface|string|bool $on Enable/disable distinct class |
|
394 | + * @param boolean $on Enable/disable distinct class |
|
395 | 395 | * or list of fields to be filtered on |
396 | 396 | * @param bool $overwrite whether to reset fields with passed list or not |
397 | 397 | * @return $this |
@@ -1414,7 +1414,7 @@ discard block |
||
1414 | 1414 | * $query->limit($query->newExpr()->add(['1 + 1'])); // LIMIT (1 + 1) |
1415 | 1415 | * ``` |
1416 | 1416 | * |
1417 | - * @param int|\Cake\Database\ExpressionInterface|null $num number of records to be returned |
|
1417 | + * @param null|integer $num number of records to be returned |
|
1418 | 1418 | * @return $this |
1419 | 1419 | */ |
1420 | 1420 | public function limit($num) |
@@ -1512,7 +1512,7 @@ discard block |
||
1512 | 1512 | * |
1513 | 1513 | * `SELECT id, name FROM things d UNION ALL SELECT id, title FROM articles a` |
1514 | 1514 | * |
1515 | - * @param string|\Cake\Database\Query $query full SQL query to be used in UNION operator |
|
1515 | + * @param \Cake\ORM\Query $query full SQL query to be used in UNION operator |
|
1516 | 1516 | * @param bool $overwrite whether to reset the list of queries to be operated or not |
1517 | 1517 | * @return $this |
1518 | 1518 | */ |
@@ -1636,7 +1636,7 @@ discard block |
||
1636 | 1636 | * |
1637 | 1637 | * Can be combined with set() and where() methods to create update queries. |
1638 | 1638 | * |
1639 | - * @param string|\Cake\Database\ExpressionInterface $table The table you want to update. |
|
1639 | + * @param string $table The table you want to update. |
|
1640 | 1640 | * @return $this |
1641 | 1641 | */ |
1642 | 1642 | public function update($table) |
@@ -1750,7 +1750,7 @@ discard block |
||
1750 | 1750 | * |
1751 | 1751 | * Epliog content is raw SQL and not suitable for use with user supplied data. |
1752 | 1752 | * |
1753 | - * @param string|\Cake\Database\Expression\QueryExpression|null $expression The expression to be appended |
|
1753 | + * @param string $expression The expression to be appended |
|
1754 | 1754 | * @return $this |
1755 | 1755 | */ |
1756 | 1756 | public function epilog($expression = null) |
@@ -609,7 +609,7 @@ |
||
609 | 609 | * |
610 | 610 | * @param array $auth The authentication options to use. |
611 | 611 | * @param array $options The overall request options to use. |
612 | - * @return object Authentication strategy instance. |
|
612 | + * @return Request Authentication strategy instance. |
|
613 | 613 | * @throws \Cake\Core\Exception\Exception when an invalid strategy is chosen. |
614 | 614 | */ |
615 | 615 | protected function _createAuth($auth, $options) |
@@ -959,7 +959,7 @@ discard block |
||
959 | 959 | /** |
960 | 960 | * Get the names of all the existing blocks. |
961 | 961 | * |
962 | - * @return string[] An array containing the blocks. |
|
962 | + * @return integer[] An array containing the blocks. |
|
963 | 963 | * @see \Cake\View\ViewBlock::keys() |
964 | 964 | */ |
965 | 965 | public function blocks() |
@@ -1004,7 +1004,7 @@ discard block |
||
1004 | 1004 | * Appending to a new block will create the block. |
1005 | 1005 | * |
1006 | 1006 | * @param string $name Name of the block |
1007 | - * @param mixed $value The content for the block. Value will be type cast |
|
1007 | + * @param string|null $value The content for the block. Value will be type cast |
|
1008 | 1008 | * to string. |
1009 | 1009 | * @return $this |
1010 | 1010 | * @see \Cake\View\ViewBlock::concat() |