mirror of
https://github.com/archtechx/enums.git
synced 2025-12-12 06:44:04 +00:00
fix
This commit is contained in:
parent
f8ac4b92ba
commit
da4bf0cd1d
1 changed files with 1 additions and 1 deletions
|
|
@ -9,6 +9,6 @@ trait Descriptions
|
|||
*/
|
||||
public static function descriptions(): array
|
||||
{
|
||||
return array_map(fn($enum) => $enum->getDescription(), static::cases());
|
||||
return array_map(fn($case) => $case->getDescription(), static::cases());
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue