25
25
use PHPStan \PhpDocParser \Ast \PhpDoc \ExtendsTagValueNode ;
26
26
use PHPStan \PhpDocParser \Ast \PhpDoc \GenericTagValueNode ;
27
27
use PHPStan \PhpDocParser \Ast \PhpDoc \ImplementsTagValueNode ;
28
+ use PHPStan \PhpDocParser \Ast \PhpDoc \InheritorsTagValueNode ;
28
29
use PHPStan \PhpDocParser \Ast \PhpDoc \InvalidTagValueNode ;
29
30
use PHPStan \PhpDocParser \Ast \PhpDoc \MethodTagValueNode ;
30
31
use PHPStan \PhpDocParser \Ast \PhpDoc \MethodTagValueParameterNode ;
@@ -2219,7 +2220,7 @@ public function provideInheritorsTagsData(): Iterator
2219
2220
new PhpDocNode ([
2220
2221
new PhpDocTagNode (
2221
2222
'@phpstan-inheritors ' ,
2222
- new RequireImplementsTagValueNode (
2223
+ new InheritorsTagValueNode (
2223
2224
new IdentifierTypeNode ('Foo|Bar ' ),
2224
2225
'' ,
2225
2226
),
@@ -2233,7 +2234,7 @@ public function provideInheritorsTagsData(): Iterator
2233
2234
new PhpDocNode ([
2234
2235
new PhpDocTagNode (
2235
2236
'@phpstan-inheritors ' ,
2236
- new RequireImplementsTagValueNode (
2237
+ new InheritorsTagValueNode (
2237
2238
new IdentifierTypeNode ('Foo|Bar ' ),
2238
2239
'optional description ' ,
2239
2240
),
@@ -2247,7 +2248,7 @@ public function provideInheritorsTagsData(): Iterator
2247
2248
new PhpDocNode ([
2248
2249
new PhpDocTagNode (
2249
2250
'@psalm-inheritors ' ,
2250
- new RequireImplementsTagValueNode (
2251
+ new InheritorsTagValueNode (
2251
2252
new IdentifierTypeNode ('Foo|Bar ' ),
2252
2253
'optional description ' ,
2253
2254
),
@@ -2266,7 +2267,7 @@ public function provideInheritorsTagsData(): Iterator
2266
2267
new ParserException (
2267
2268
'*/ ' ,
2268
2269
Lexer::TOKEN_CLOSE_PHPDOC ,
2269
- 32 ,
2270
+ 24 ,
2270
2271
Lexer::TOKEN_IDENTIFIER ,
2271
2272
null ,
2272
2273
1 ,
0 commit comments