mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2024-10-01 01:26:10 -04:00
apply StyleCI recommendation
This commit is contained in:
parent
6261c94fc9
commit
3c6df4573e
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user