Skip to content

Commit

Permalink
Fix PhpStan error.
Browse files Browse the repository at this point in the history
  • Loading branch information
janbarasek authored Nov 5, 2022
1 parent d3f460f commit 6febc36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Minifier/JShrinkMinifier.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 6febc36

Please sign in to comment.