Skip to content

Commit 39ae8d3

Browse files
Fix
1 parent 65f6b8c commit 39ae8d3

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

tests/PHPStan/Parser/PhpDocParserTest.php

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
use PHPStan\PhpDocParser\Ast\PhpDoc\ExtendsTagValueNode;
2626
use PHPStan\PhpDocParser\Ast\PhpDoc\GenericTagValueNode;
2727
use PHPStan\PhpDocParser\Ast\PhpDoc\ImplementsTagValueNode;
28+
use PHPStan\PhpDocParser\Ast\PhpDoc\InheritorsTagValueNode;
2829
use PHPStan\PhpDocParser\Ast\PhpDoc\InvalidTagValueNode;
2930
use PHPStan\PhpDocParser\Ast\PhpDoc\MethodTagValueNode;
3031
use 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

Comments
 (0)