Skip to content

Commit e46ad94

Browse files
committed
fix intersect key
1 parent a044946 commit e46ad94

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

stubs/ext-ds.stub

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,9 +156,10 @@ final class Map implements IteratorAggregate, ArrayAccess, Collection
156156
}
157157

158158
/**
159+
* @template TKey2
159160
* @template TValue2
160-
* @param Map<TKey, TValue2> $map
161-
* @return Map<TKey, TValue>
161+
* @param Map<TKey2, TValue2> $map
162+
* @return Map<TKey&TKey2, TValue>
162163
*/
163164
public function intersect(Map $map): Map
164165
{

0 commit comments

Comments
 (0)