mirror of
https://github.com/matthiasmullie/minify.git
synced 2025-01-17 20:58:26 +01:00
PHP 8.2 deprecation fix: Dynamically call 'parent::__construct()' fix
This commit is contained in:
parent
489e0be7fa
commit
9400c16435
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user