From 6febc3671ac89d300c629330826a63fcb0538905 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Bar=C3=A1=C5=A1ek?= Date: Sat, 5 Nov 2022 18:30:46 +0100 Subject: [PATCH] Fix PhpStan error. --- src/Minifier/JShrinkMinifier.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }