1
0
mirror of synced 2025-02-21 22:53:15 +03:00

Merge branch 'hotfix/#1019-detached-entity-exception-rewording'

Close #1019
This commit is contained in:
Marco Pivetta 2014-07-14 11:25:42 +02:00
commit 85fbf68436

View File

@ -154,7 +154,7 @@ class ORMInvalidArgumentException extends \InvalidArgumentException
*/
static public function detachedEntityCannot($entity, $operation)
{
return new self("A detached entity was found during " . $operation . " " . self::objToStr($entity));
return new self("Detached entity " . self::objToStr($entity) . " cannot be " . $operation);
}
/**