diff --git a/src/JS.php b/src/JS.php index a348491..65fe89f 100644 --- a/src/JS.php +++ b/src/JS.php @@ -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;