2525use PHPStan \PhpDocParser \Ast \PhpDoc \ExtendsTagValueNode ;
2626use PHPStan \PhpDocParser \Ast \PhpDoc \GenericTagValueNode ;
2727use PHPStan \PhpDocParser \Ast \PhpDoc \ImplementsTagValueNode ;
28+ use PHPStan \PhpDocParser \Ast \PhpDoc \InheritorsTagValueNode ;
2829use PHPStan \PhpDocParser \Ast \PhpDoc \InvalidTagValueNode ;
2930use PHPStan \PhpDocParser \Ast \PhpDoc \MethodTagValueNode ;
3031use PHPStan \PhpDocParser \Ast \PhpDoc \MethodTagValueParameterNode ;
@@ -2219,7 +2220,7 @@ public function provideInheritorsTagsData(): Iterator
22192220 new PhpDocNode ([
22202221 new PhpDocTagNode (
22212222 '@phpstan-inheritors ' ,
2222- new RequireImplementsTagValueNode (
2223+ new InheritorsTagValueNode (
22232224 new IdentifierTypeNode ('Foo|Bar ' ),
22242225 '' ,
22252226 ),
@@ -2233,7 +2234,7 @@ public function provideInheritorsTagsData(): Iterator
22332234 new PhpDocNode ([
22342235 new PhpDocTagNode (
22352236 '@phpstan-inheritors ' ,
2236- new RequireImplementsTagValueNode (
2237+ new InheritorsTagValueNode (
22372238 new IdentifierTypeNode ('Foo|Bar ' ),
22382239 'optional description ' ,
22392240 ),
@@ -2247,7 +2248,7 @@ public function provideInheritorsTagsData(): Iterator
22472248 new PhpDocNode ([
22482249 new PhpDocTagNode (
22492250 '@psalm-inheritors ' ,
2250- new RequireImplementsTagValueNode (
2251+ new InheritorsTagValueNode (
22512252 new IdentifierTypeNode ('Foo|Bar ' ),
22522253 'optional description ' ,
22532254 ),
@@ -2266,7 +2267,7 @@ public function provideInheritorsTagsData(): Iterator
22662267 new ParserException (
22672268 '*/ ' ,
22682269 Lexer::TOKEN_CLOSE_PHPDOC ,
2269- 32 ,
2270+ 24 ,
22702271 Lexer::TOKEN_IDENTIFIER ,
22712272 null ,
22722273 1 ,
0 commit comments