Skip to content

Commit

Permalink
doctrine#7068 keep code-style consistent
Browse files Browse the repository at this point in the history
Contributing guidelines want surrounding spaces before and after the
exclamation mark but that would make the class code-style inconsistent
  • Loading branch information
Michael Kühn committed Feb 17, 2018
1 parent b6c4dfb commit 277caf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Doctrine/ORM/EntityManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 277caf9

Please sign in to comment.