apply StyleCI recommendation

This commit is contained in:
El RIDO
2024-07-09 22:21:01 +02:00
parent 6261c94fc9
commit 3c6df4573e

View File

@@ -388,7 +388,7 @@ class Helper
'#\'js/([a-z0-9.-]+.js)(\' +)=\> \'[^\']*\',#',
function ($matches) use (&$counter) {
if (array_key_exists($matches[1], Helper::$hashes)) {
$counter++;
++$counter;
return '\'js/' . $matches[1] . $matches[2] .
'=> \'sha512-' . Helper::$hashes[$matches[1]] . '\',';
} else {