Skip to content

Commit a99ee1a

Browse files
committed
Merge branch 'master' of github.com:archtechx/enums
2 parents 61ba793 + b62251d commit a99ee1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Options.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public static function stringOptions(Closure $callback = null, string $glue = '\
4545
if (str_contains($name, '_')) {
4646
// Snake case
4747
$words = explode('_', $name);
48-
} else if (strtoupper($name) === $name) {
48+
} elseif (strtoupper($name) === $name) {
4949
// If the entire name is uppercase without underscores, it's a single word
5050
$words = [$name];
5151
} else {

0 commit comments

Comments
 (0)