Merge pull request #1076 from velosipedist/fix-typos
Fix switch non-uniform syntax
This commit is contained in:
commit
8c0166d3bf
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue