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.
1 parent fc15a07 commit d8630b2Copy full SHA for d8630b2
src/Normalizer.php
@@ -68,8 +68,8 @@ public function normalizeExpr(string $expr): string
68
{
69
$expr = \trim($expr);
70
71
- if (isset(static::$expressions[$expr])) {
72
- return static::$expressions[$expr];
+ if (isset(static::$expressions[$exp = \strtolower($expr)])) {
+ return static::$expressions[$exp];
73
}
74
75
$expr = \preg_replace('~\s+~', ' ', $expr);
0 commit comments