Skip to content

Commit

Permalink
Use static
Browse files Browse the repository at this point in the history
  • Loading branch information
mattamon committed Jan 8, 2025
1 parent 8f1fd0d commit 1392a0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Util/Trait/EnumToValueArrayTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ trait EnumToValueArrayTrait
{
public static function values(): array
{
return array_column(self::cases(), 'value');
return array_column(static::cases(), 'value');
}
}

0 comments on commit 1392a0d

Please sign in to comment.