Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenvanassche authored and github-actions[bot] committed May 3, 2024
1 parent cc6969d commit b1d7ab4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Collectors/EnumCollector.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class EnumCollector extends DefaultCollector
{
public function getTransformedType(ReflectionClass $class): ?TransformedType
{
if (!$this->shouldCollect($class)) {
if (! $this->shouldCollect($class)) {
return null;
}

Expand Down Expand Up @@ -44,11 +44,11 @@ protected function shouldCollect(ReflectionClass $class): bool
}),
) > 0;

if (!$hasEnumTransformer) {
if (! $hasEnumTransformer) {
return false;
}

if (!$class->implementsInterface(BackedEnum::class)) {
if (! $class->implementsInterface(BackedEnum::class)) {
return false;
}

Expand Down

0 comments on commit b1d7ab4

Please sign in to comment.