Skip to content

Commit dbcebbc

Browse files
committed
Apply fixes from StyleCI
1 parent 1e7dc3d commit dbcebbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Enum.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ private static function getLabel(mixed $value): string
425425

426426
private static function strToConstName($str): string
427427
{
428-
if (! ctype_lower($str)) {
428+
if (!ctype_lower($str)) {
429429
$str = preg_replace('/\s+/u', '', ucwords($str));
430430
$str = strtolower(preg_replace('/(.)(?=[A-Z])/u', '$1' . '_', $str));
431431
$str = preg_replace('/(.+?)([0-9]+)/u', '$1' . '_' . '$2', $str);

0 commit comments

Comments
 (0)