Fix STRICT warnings on PHP 5.4

This commit is contained in:
Stephen Cuppett 2012-08-19 17:00:26 -04:00
parent 08e4362d40
commit 7e5f326300

View file

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