Skip to content

Commit

Permalink
The function _readHasErrors() accepts a mixed type of values.
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaLuckers committed Jul 6, 2018
1 parent aa1d565 commit 269bf84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Datasource/EntityTrait.php
Expand Up @@ -1118,7 +1118,7 @@ protected function _nestedErrors($field)
/**
* Reads if there are errors for one or many objects.
*
* @param array|\Cake\Datasource\EntityTrait $object The object to read errors from.
* @param mixed $object The object to read errors from.
* @return bool
*/
protected function _readHasErrors($object)
Expand Down

0 comments on commit 269bf84

Please sign in to comment.