1
0
mirror of synced 2025-01-18 22:41:43 +03:00

Fix switch non-uniform syntax

This commit is contained in:
velosipedist 2014-06-29 18:00:02 +04:00
parent c370426792
commit 60cb01be1f

View File

@ -425,7 +425,7 @@ use Doctrine\Common\Util\ClassUtils;
break;
case LockMode::NONE === $lockMode:
case LockMode::PESSIMISTIC_READ === $lockMode;
case LockMode::PESSIMISTIC_READ === $lockMode:
case LockMode::PESSIMISTIC_WRITE === $lockMode:
$persister = $unitOfWork->getEntityPersister($class->name);
$persister->refresh($sortedId, $entity, $lockMode);