We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc6969d commit b1d7ab4Copy full SHA for b1d7ab4
src/Collectors/EnumCollector.php
@@ -12,7 +12,7 @@ class EnumCollector extends DefaultCollector
12
{
13
public function getTransformedType(ReflectionClass $class): ?TransformedType
14
15
- if (!$this->shouldCollect($class)) {
+ if (! $this->shouldCollect($class)) {
16
return null;
17
}
18
@@ -44,11 +44,11 @@ protected function shouldCollect(ReflectionClass $class): bool
44
}),
45
) > 0;
46
47
- if (!$hasEnumTransformer) {
+ if (! $hasEnumTransformer) {
48
return false;
49
50
51
- if (!$class->implementsInterface(BackedEnum::class)) {
+ if (! $class->implementsInterface(BackedEnum::class)) {
52
53
54
0 commit comments