mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Fix STRICT warnings on PHP 5.4
This commit is contained in:
parent
00f3e7e441
commit
172e4bed5d
4 changed files with 8 additions and 8 deletions
|
@ -13,11 +13,11 @@ class Test2OtherSource extends DataSource {
|
|||
return compact('model', 'fields', 'values');
|
||||
}
|
||||
|
||||
public function read(Model $model, $queryData = array()) {
|
||||
public function read(Model $model, $queryData = array(), $recursive = null) {
|
||||
return compact('model', 'queryData');
|
||||
}
|
||||
|
||||
public function update(Model $model, $fields = array(), $values = array()) {
|
||||
public function update(Model $model, $fields = array(), $values = array(), $conditions = null) {
|
||||
return compact('model', 'fields', 'values');
|
||||
}
|
||||
|
||||
|
|
|
@ -13,11 +13,11 @@ class Test2Source extends DataSource {
|
|||
return compact('model', 'fields', 'values');
|
||||
}
|
||||
|
||||
public function read(Model $model, $queryData = array()) {
|
||||
public function read(Model $model, $queryData = array(), $recursive = null) {
|
||||
return compact('model', 'queryData');
|
||||
}
|
||||
|
||||
public function update(Model $model, $fields = array(), $values = array()) {
|
||||
public function update(Model $model, $fields = array(), $values = array(), $conditions = null) {
|
||||
return compact('model', 'fields', 'values');
|
||||
}
|
||||
|
||||
|
|
|
@ -13,11 +13,11 @@ class TestOtherSource extends DataSource {
|
|||
return compact('model', 'fields', 'values');
|
||||
}
|
||||
|
||||
public function read(Model $model, $queryData = array()) {
|
||||
public function read(Model $model, $queryData = array(), $recursive = null) {
|
||||
return compact('model', 'queryData');
|
||||
}
|
||||
|
||||
public function update(Model $model, $fields = array(), $values = array()) {
|
||||
public function update(Model $model, $fields = array(), $values = array(), $conditions = null) {
|
||||
return compact('model', 'fields', 'values');
|
||||
}
|
||||
|
||||
|
|
|
@ -15,11 +15,11 @@ class TestSource extends DataSource {
|
|||
return compact('model', 'fields', 'values');
|
||||
}
|
||||
|
||||
public function read(Model $model, $queryData = array()) {
|
||||
public function read(Model $model, $queryData = array(), $recursive = null) {
|
||||
return compact('model', 'queryData');
|
||||
}
|
||||
|
||||
public function update(Model $model, $fields = array(), $values = array()) {
|
||||
public function update(Model $model, $fields = array(), $values = array(), $conditions = null) {
|
||||
return compact('model', 'fields', 'values');
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue