Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 6ff970a

Browse files
Fix tests
1 parent 2a4686e commit 6ff970a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

‎tests/PHPStan/Parser/PhpDocParserTest.php‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2221,6 +2221,10 @@ public function provideMethodTagsData(): Iterator
22212221
[
22222222
new IdentifierTypeNode('array-key'),
22232223
new IdentifierTypeNode('T'),
2224+
],
2225+
[
2226+
GenericTypeNode::VARIANCE_INVARIANT,
2227+
GenericTypeNode::VARIANCE_INVARIANT,
22242228
]
22252229
),
22262230
false,

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /