mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
fixed constants typos in "Entity State"
This commit is contained in:
@@ -604,13 +604,13 @@ underlying ``UnitOfWork``:
|
||||
|
||||
<?php
|
||||
switch ($em->getUnitOfWork()->getEntityState($entity)) {
|
||||
case UnitOfWork::MANAGED:
|
||||
case UnitOfWork::STATE_MANAGED:
|
||||
...
|
||||
case UnitOfWork::REMOVED:
|
||||
case UnitOfWork::STATE_REMOVED:
|
||||
...
|
||||
case UnitOfWork::DETACHED:
|
||||
case UnitOfWork::STATE_DETACHED:
|
||||
...
|
||||
case UnitOfWork::NEW:
|
||||
case UnitOfWork::STATE_NEW:
|
||||
...
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user