From dbcebbc0f13d1b9bcebf80faf73b8ddf8b293911 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 29 Feb 2024 15:09:33 +0000 Subject: [PATCH] Apply fixes from StyleCI --- src/Enum.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Enum.php b/src/Enum.php index fb0cbc9..8343bce 100644 --- a/src/Enum.php +++ b/src/Enum.php @@ -425,7 +425,7 @@ private static function getLabel(mixed $value): string private static function strToConstName($str): string { - if (! ctype_lower($str)) { + if (!ctype_lower($str)) { $str = preg_replace('/\s+/u', '', ucwords($str)); $str = strtolower(preg_replace('/(.)(?=[A-Z])/u', '$1' . '_', $str)); $str = preg_replace('/(.+?)([0-9]+)/u', '$1' . '_' . '$2', $str);