https://github.com/phpstan/phpdoc-parser/blob/22dcdfd725ddf99583bfe398fc624ad6c5004a0f/src/Parser/ConstExprParser.php#L31
From Version 1.18.1 They added a constructor parameter that you are missing.
Please add a constrain to your composer file.
And make an updated version with minimum constrain to we can update to the later packages of phpstan.