PHP 8.2 deprecation fix: Dynamically call 'parent::__construct()' fix

This commit is contained in:
Wim Wisselink Kantoor 2022-12-08 13:39:55 +01:00
parent 489e0be7fa
commit 9400c16435

View File

@ -127,7 +127,7 @@ class JS extends Minify
*/
public function __construct()
{
call_user_func_array(array('parent', '__construct'), func_get_args());
parent::__construct(func_get_args());
$dataDir = __DIR__ . '/../data/js/';
$options = FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES;