1
0
Fork 0
mirror of https://github.com/archtechx/enums.git synced 2025-12-12 11:14:05 +00:00

Fix code style (php-cs-fixer)

This commit is contained in:
PHP CS Fixer 2024-01-28 17:50:49 +00:00
parent fea911eba7
commit b62251dc80

View file

@ -45,7 +45,7 @@ trait Options
if (str_contains($name, '_')) {
// Snake case
$words = explode('_', $name);
} else if (strtoupper($name) === $name) {
} elseif (strtoupper($name) === $name) {
// If the entire name is uppercase without underscores, it's a single word
$words = [$name];
} else {