From 758c303d34271afd7f90e24ebd4ea1c049adfeba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20K=C3=BChn?= Date: Sat, 17 Feb 2018 15:54:11 +0100 Subject: [PATCH] #7068 keep code-style consistent Contributing guidelines want surrounding spaces before and after the exclamation mark but that would make the class code-style inconsistent --- 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 72dc8b92e31..9767a02af18 100644 --- a/lib/Doctrine/ORM/EntityManager.php +++ b/lib/Doctrine/ORM/EntityManager.php @@ -387,7 +387,7 @@ public function find($entityName, $id, $lockMode = null, $lockVersion = null) switch ($lockMode) { case LockMode::OPTIMISTIC: - if ( ! $class->isVersioned()) { + if (! $class->isVersioned()) { throw OptimisticLockException::notVersioned($className); } case LockMode::PESSIMISTIC_READ: