Warning: Unsupported declare 'strict_types' in C:\xampp\htdocs\monitor\vendor\nikic\php-parser\lib\PhpParser\Node\Stmt\Use_.php on line 1

Fatal error: Default value for parameters with a class type hint can only be NULL in C:\xampp\htdocs\monitor\vendor\nikic\php-parser\lib\PhpParser\Node\Stmt\Use_.php on line 34