Skip to content

Commit 9d068c9

Browse files
committed
correct expected reported errors
1 parent 127f666 commit 9d068c9

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

tests/PHPStan/Rules/Functions/MissingFunctionReturnTypehintRuleTest.php

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,19 +67,20 @@ public function testRule(): void
6767
169,
6868
],
6969
[
70-
'Function MissingFunctionReturnTypehint\returnsIteratorNoPrototype() return type with generic interface Iterator does not specify its types: TKey, TValue, TSend, TReturn',
70+
'Function MissingFunctionReturnTypehint\returnsIteratorNoPrototype() return type with generic interface Iterator does not specify its types: TKey, TValue',
7171
186,
7272
],
7373
[
74-
'Function MissingFunctionReturnTypehint\returnsIteratorAggregateNoPrototype() return type with generic interface IteratorAggregate does not specify its types: TKey, TValue, TSend, TReturn',
74+
'Function MissingFunctionReturnTypehint\returnsIteratorAggregateNoPrototype() return type with generic interface IteratorAggregate does not specify its types: TKey, TValue',
7575
199,
7676
],
7777
[
78-
'Function MissingFunctionReturnTypehint\returnsTraversableNoPrototype() return type has no value type specified in iterable type Traversable',
78+
'Function MissingFunctionReturnTypehint\returnsTraversableNoPrototype() return type has no value type specified in iterable type Traversable.',
7979
212,
80+
MissingTypehintCheck::MISSING_ITERABLE_VALUE_TYPE_TIP,
8081
],
8182
[
82-
'Function MissingFunctionReturnTypehint\returnsTraversableNoPrototype() return type with generic interface Traversable does not specify its types: TKey, TValue, TSend, TReturn',
83+
'Function MissingFunctionReturnTypehint\returnsTraversableNoPrototype() return type with generic interface Traversable does not specify its types: TKey, TValue',
8384
212,
8485
],
8586
]);

0 commit comments

Comments
 (0)