#6017 removed unused ORMException::invalidEntityName
This commit is contained in:
parent
754e1f5d42
commit
8f77afdc34
@ -340,16 +340,4 @@ class ORMException extends Exception
|
|||||||
{
|
{
|
||||||
return new self("Can't use IN operator on entities that have composite keys.");
|
return new self("Can't use IN operator on entities that have composite keys.");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Used when a given entityName hasn't the good type
|
|
||||||
*
|
|
||||||
* @param mixed $entityName The given entity (which shouldn't be a string)
|
|
||||||
*
|
|
||||||
* @return ORMException
|
|
||||||
*/
|
|
||||||
public static function invalidEntityName($entityName)
|
|
||||||
{
|
|
||||||
return new self(sprintf('Entity name must be a string, %s given', gettype($entityName)));
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user