We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 61ba793 + b62251d commit a99ee1aCopy full SHA for a99ee1a
src/Options.php
@@ -45,7 +45,7 @@ public static function stringOptions(Closure $callback = null, string $glue = '\
45
if (str_contains($name, '_')) {
46
// Snake case
47
$words = explode('_', $name);
48
- } else if (strtoupper($name) === $name) {
+ } elseif (strtoupper($name) === $name) {
49
// If the entire name is uppercase without underscores, it's a single word
50
$words = [$name];
51
} else {
0 commit comments