Skip to content

Commit

Permalink
Update EnumTransformer.php
Browse files Browse the repository at this point in the history
  • Loading branch information
jameshulse authored Aug 28, 2024
1 parent e15689c commit c3000cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Transformers/EnumTransformer.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public function transform(ReflectionClass $class, string $name): ?TransformedTyp
return null;
}

if (empty($enum->getCases()) {
if (empty($enum->getCases())) {
return null;
}

Expand Down

0 comments on commit c3000cb

Please sign in to comment.