mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
Update return types.
This commit is contained in:
parent
28a3b73bdc
commit
408aac4798
1 changed files with 1 additions and 2 deletions
|
@ -641,7 +641,6 @@ class DboSource extends DataSource {
|
|||
* Returns an array of all result rows for a given SQL query.
|
||||
* Returns false if no rows matched.
|
||||
*
|
||||
*
|
||||
* ### Options
|
||||
*
|
||||
* - `cache` - Returns the cached version of the query, if exists and stores the result in cache.
|
||||
|
@ -652,7 +651,7 @@ class DboSource extends DataSource {
|
|||
* @param string $sql SQL statement
|
||||
* @param array $params parameters to be bound as values for the SQL statement
|
||||
* @param array $options additional options for the query.
|
||||
* @return array Array of resultset rows, or false if no rows matched
|
||||
* @return boolean|array Array of resultset rows, or false if no rows matched
|
||||
*/
|
||||
public function fetchAll($sql, $params = array(), $options = array()) {
|
||||
if (is_string($options)) {
|
||||
|
|
Loading…
Add table
Reference in a new issue