mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Fix STRICT warnings on PHP 5.4
This commit is contained in:
parent
08e4362d40
commit
7e5f326300
1 changed files with 4 additions and 2 deletions
|
@ -197,9 +197,10 @@ class DataSource extends Object {
|
||||||
*
|
*
|
||||||
* @param Model $model The model being read.
|
* @param Model $model The model being read.
|
||||||
* @param array $queryData An array of query data used to find the data you want
|
* @param array $queryData An array of query data used to find the data you want
|
||||||
|
* @param integer $recursive Number of levels of association
|
||||||
* @return mixed
|
* @return mixed
|
||||||
*/
|
*/
|
||||||
public function read(Model $model, $queryData = array()) {
|
public function read(Model $model, $queryData = array(), $recursive = null) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -211,9 +212,10 @@ class DataSource extends Object {
|
||||||
* @param Model $model Instance of the model class being updated
|
* @param Model $model Instance of the model class being updated
|
||||||
* @param array $fields Array of fields to be updated
|
* @param array $fields Array of fields to be updated
|
||||||
* @param array $values Array of values to be update $fields to.
|
* @param array $values Array of values to be update $fields to.
|
||||||
|
* @param mixed $conditions
|
||||||
* @return boolean Success
|
* @return boolean Success
|
||||||
*/
|
*/
|
||||||
public function update(Model $model, $fields = null, $values = null) {
|
public function update(Model $model, $fields = null, $values = null, $conditions = null) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue