mirror of
https://github.com/archtechx/enums.git
synced 2025-12-12 17:14:04 +00:00
Fix code style (php-cs-fixer)
This commit is contained in:
parent
fea911eba7
commit
b62251dc80
1 changed files with 1 additions and 1 deletions
|
|
@ -45,7 +45,7 @@ trait Options
|
||||||
if (str_contains($name, '_')) {
|
if (str_contains($name, '_')) {
|
||||||
// Snake case
|
// Snake case
|
||||||
$words = explode('_', $name);
|
$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
|
// If the entire name is uppercase without underscores, it's a single word
|
||||||
$words = [$name];
|
$words = [$name];
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue