mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2025-06-02 21:42:20 -04:00
apply StyleCI recommendation
This commit is contained in:
parent
6261c94fc9
commit
3c6df4573e
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue