From b5dd999f84fc5b88da4220f7ea00f2596523dc81 Mon Sep 17 00:00:00 2001 From: flip111 Date: Tue, 13 Jan 2015 20:24:10 +0100 Subject: [PATCH] Update ORMInvalidArgumentException.php rename duplicate method --- lib/Doctrine/ORM/ORMInvalidArgumentException.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Doctrine/ORM/ORMInvalidArgumentException.php b/lib/Doctrine/ORM/ORMInvalidArgumentException.php index e94e3f632..8b10d0023 100644 --- a/lib/Doctrine/ORM/ORMInvalidArgumentException.php +++ b/lib/Doctrine/ORM/ORMInvalidArgumentException.php @@ -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))); }