From 60cb01be1f5eec2e51390f88e10c4ae73497cf22 Mon Sep 17 00:00:00 2001 From: velosipedist Date: Sun, 29 Jun 2014 18:00:02 +0400 Subject: [PATCH] Fix switch non-uniform syntax --- lib/Doctrine/ORM/EntityManager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Doctrine/ORM/EntityManager.php b/lib/Doctrine/ORM/EntityManager.php index d075d418c..049ac0f72 100644 --- a/lib/Doctrine/ORM/EntityManager.php +++ b/lib/Doctrine/ORM/EntityManager.php @@ -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);