Skip to content

Commit df45692

Browse files
jonas.kraskaboesing
authored andcommitted
make psalm happy by handing over the expected callback type to GenericMap::keyExchange
1 parent cdabdaf commit df45692

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/GenericMapTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ final class GenericMapTest extends TestCase
3434
/**
3535
* @psalm-return Generator<non-empty-string,array{
3636
* 0: array<non-empty-string,mixed>,
37-
* 1: pure-callable(non-empty-string):non-empty-string,
37+
* 1: pure-callable(non-empty-string, non-empty-string):non-empty-string,
3838
* 2: array<non-empty-string,mixed>
3939
* }>
4040
*/
@@ -1097,7 +1097,7 @@ public function testWillJoinValuesWithSeperator(): void
10971097

10981098
/**
10991099
* @psalm-param array<non-empty-string,mixed> $initial
1100-
* @psalm-param pure-callable(non-empty-string):non-empty-string $keyGenerator
1100+
* @psalm-param pure-callable(non-empty-string, mixed):non-empty-string $keyGenerator
11011101
* @psalm-param array<non-empty-string,mixed> $expected
11021102
*
11031103
* @dataProvider exchangeKeys

0 commit comments

Comments
 (0)