1
0
mirror of synced 2024-12-04 18:56:06 +03:00

#1228 DDC-3490 - Remove unused method

This commit is contained in:
Marco Pivetta 2015-01-18 01:05:53 +01:00
parent b1d7a057fd
commit c7f5ee8e9e

View File

@ -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