This commit is contained in:
Ondrej Mirtes 2020-05-04 22:59:45 +02:00
parent 3dfe57b7d0
commit 7093385390
No known key found for this signature in database
GPG Key ID: 8E730BA25823D8B5

View File

@ -3051,7 +3051,7 @@ chunk. Must be higher that in the previous request.'),
'malformed const fetch',
'/** @param Foo::** $a */',
new PhpDocNode([
new PhpDocTagNode('@param', new InvalidTagValueNode('Foo::** $a', new ParserException('*', Lexer::TOKEN_WILDCARD, 17, Lexer::TOKEN_VARIABLE))),
new PhpDocTagNode('@param', new InvalidTagValueNode('Foo::** $a', new \PHPStan\PhpDocParser\Parser\ParserException('*', Lexer::TOKEN_WILDCARD, 17, Lexer::TOKEN_VARIABLE))),
]),
];
}