From c7f5ee8e9e1d6da627b7c622ef2c76fd8fe70ee4 Mon Sep 17 00:00:00 2001 From: Marco Pivetta Date: Sun, 18 Jan 2015 01:05:53 +0100 Subject: [PATCH] #1228 DDC-3490 - Remove unused method --- lib/Doctrine/ORM/ORMInvalidArgumentException.php | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/lib/Doctrine/ORM/ORMInvalidArgumentException.php b/lib/Doctrine/ORM/ORMInvalidArgumentException.php index 633ff5c60..02c0f99aa 100644 --- a/lib/Doctrine/ORM/ORMInvalidArgumentException.php +++ b/lib/Doctrine/ORM/ORMInvalidArgumentException.php @@ -188,22 +188,6 @@ class ORMInvalidArgumentException extends \InvalidArgumentException return new self("Binding entities to query parameters only allowed for entities that have an identifier."); } - /** - * @param object $relation - * @param string $fieldname - * @param mixed $value - * @return self - */ - 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, - is_object($value) ? get_class($value) : gettype($value) - )); - } - /** * @param ClassMetadata $targetClass * @param array $assoc