Skip to content

Commit

Permalink
Avoid using fluent helper
Browse files Browse the repository at this point in the history
  • Loading branch information
luisdalmolin committed Oct 25, 2024
1 parent 74a67b5 commit 9bb0989
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Generators/EnumGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ protected function prepareEnumCode(): Fluent
{
$cases = collect($this->reflector->getCases());

return fluent([
return new Fluent([
'type' => $this->buildTypeDefinition(),
'cases' => $this->buildCases($cases),
'getters' => $this->buildGetters($cases),
Expand Down

0 comments on commit 9bb0989

Please sign in to comment.