diff --git a/src/Minifier/JShrinkMinifier.php b/src/Minifier/JShrinkMinifier.php index 4ece951..f1d6fbb 100644 --- a/src/Minifier/JShrinkMinifier.php +++ b/src/Minifier/JShrinkMinifier.php @@ -544,7 +544,7 @@ protected function lock(string $js): string return $js; } - $this->locks[$lock] = (string) $matches[2]; + $this->locks[$lock] = $matches[2]; return (string) preg_replace('/([+-])\s+([+-])/S', '$1' . $lock . '$2', $js); }