diff --git a/tst/Bootstrap.php b/tst/Bootstrap.php index bee35847..c43e2b25 100644 --- a/tst/Bootstrap.php +++ b/tst/Bootstrap.php @@ -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 {