Update ORMInvalidArgumentException.php
rename duplicate method
This commit is contained in:
parent
059c33e69d
commit
b5dd999f84
@ -193,7 +193,7 @@ class ORMInvalidArgumentException extends \InvalidArgumentException
|
|||||||
* @param mixed $value
|
* @param mixed $value
|
||||||
* @return self
|
* @return self
|
||||||
*/
|
*/
|
||||||
public static function invalidAssociation($relation, $fieldname, $value)
|
public static function computeAssociationChangesError($relation, $fieldname, $value)
|
||||||
{
|
{
|
||||||
return new self(sprintf('Expected an Object for relation %s::%s got %s instead.', get_class($relation), $fieldname, gettype($value)));
|
return new self(sprintf('Expected an Object for relation %s::%s got %s instead.', get_class($relation), $fieldname, gettype($value)));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user