1
0
mirror of synced 2025-02-02 21:41:45 +03:00

#6017 removed unused ORMException::invalidEntityName

This commit is contained in:
Marco Pivetta 2016-11-27 18:12:00 +01:00
parent 754e1f5d42
commit 8f77afdc34

View File

@ -340,16 +340,4 @@ class ORMException extends Exception
{
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)));
}
}