#1228 DDC-3490 - Remove unused method
This commit is contained in:
parent
b1d7a057fd
commit
c7f5ee8e9e
@ -188,22 +188,6 @@ class ORMInvalidArgumentException extends \InvalidArgumentException
|
|||||||
return new self("Binding entities to query parameters only allowed for entities that have an identifier.");
|
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 ClassMetadata $targetClass
|
||||||
* @param array $assoc
|
* @param array $assoc
|
||||||
|
Loading…
Reference in New Issue
Block a user