Fix STRICT warnings on PHP 5.4

This commit is contained in:
Renan Gonçalves 2012-08-21 13:08:43 +02:00
parent 00f3e7e441
commit 172e4bed5d
4 changed files with 8 additions and 8 deletions

View file

@ -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');
}

View file

@ -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');
}

View file

@ -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');
}

View file

@ -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');
}