From b62251dc80880263d44052b3802e5d634f3840a6 Mon Sep 17 00:00:00 2001 From: PHP CS Fixer Date: Sun, 28 Jan 2024 17:50:49 +0000 Subject: [PATCH] Fix code style (php-cs-fixer) --- src/Options.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Options.php b/src/Options.php index 0abcb3c..3700650 100644 --- a/src/Options.php +++ b/src/Options.php @@ -45,7 +45,7 @@ public static function stringOptions(Closure $callback = null, string $glue = '\ 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 {