1
0
mirror of synced 2025-01-31 04:21:44 +03:00

Update ORMInvalidArgumentException.php

rename duplicate method
This commit is contained in:
flip111 2015-01-13 20:24:10 +01:00 committed by Marco Pivetta
parent 059c33e69d
commit b5dd999f84

View File

@ -193,7 +193,7 @@ class ORMInvalidArgumentException extends \InvalidArgumentException
* @param mixed $value
* @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)));
}