Skip to content

Commit e5456af

Browse files
committed
more flexible array-key for Iterator
1 parent bbebd43 commit e5456af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/PHPStan/Type/UnionTypeTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ public function testSelfCompare(Type $type): void
170170
}
171171

172172
/**
173-
* @return Iterator<int, array{UnionType, Type, TrinaryLogic}>
173+
* @return Iterator<array-key, array{UnionType, Type, TrinaryLogic}>
174174
*/
175175
public static function dataIsSuperTypeOf(): Iterator
176176
{

0 commit comments

Comments
 (0)