Skip to content

Commit

Permalink
minor #229 Fix code example (eliashaeussler)
Browse files Browse the repository at this point in the history
This PR was merged into the 2.x-dev branch.

Discussion
----------

Fix code example

This PR fixes a wrong code example in `README.md` where `class` was used instead of `enum`.

Commits
-------

616d612 Fix code example
  • Loading branch information
ogizanagi committed Jan 24, 2024
2 parents bd65e9e + 616d612 commit a1e8c52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ An interface and a trait have been added for that purpose.
use Elao\Enum\Bridge\Symfony\Translation\TranslatableEnumInterface;
use Elao\Enum\Bridge\Symfony\Translation\TranslatableEnumTrait;
class Card: string implements TranslatableEnumInterface
enum Card: string implements TranslatableEnumInterface
{
use TranslatableEnumTrait;
Expand Down

0 comments on commit a1e8c52

Please sign in to comment.