Skip to content

Commit

Permalink
phpcs
Browse files Browse the repository at this point in the history
  • Loading branch information
beberlei committed Feb 1, 2022
1 parent 2eb162f commit 6068bc5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Doctrine/Common/Proxy/ProxyGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -406,8 +406,8 @@ public function generateEnumUseStatements(ClassMetadata $class): string
}

if (array_key_exists($name, $defaultProperties) && $defaultProperties[$name] instanceof BackedEnum) {
$enumClassNameParts = explode("\\", get_class($defaultProperties[$name]));
$enumClasses[] = $enumClassNameParts[0];
$enumClassNameParts = explode('\\', get_class($defaultProperties[$name]));
$enumClasses[] = $enumClassNameParts[0];
}
}

Expand Down

0 comments on commit 6068bc5

Please sign in to comment.