mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Fix @return value
This commit is contained in:
parent
320cdf98ee
commit
a9e20c39be
1 changed files with 1 additions and 1 deletions
|
@ -2997,7 +2997,7 @@ class Model extends CakeObject implements CakeEventListener {
|
|||
*
|
||||
* @param string $type Type of find operation (all / first / count / neighbors / list / threaded)
|
||||
* @param array $query Option fields (conditions / fields / joins / limit / offset / order / page / group / callbacks)
|
||||
* @return array|null Array of records, or Null on failure.
|
||||
* @return array|int|null Array of records, int if the type is count, or Null on failure.
|
||||
* @link https://book.cakephp.org/2.0/en/models/retrieving-your-data.html
|
||||
*/
|
||||
public function find($type = 'first', $query = array()) {
|
||||
|
|
Loading…
Reference in a new issue