1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-27 12:55:26 +01:00

Fix bug surfaced from removal of elseif scope modification

This commit is contained in:
robchett 2023-06-17 14:58:58 +01:00
parent 7792b6c36c
commit 620c7cd68a

View File

@ -313,7 +313,7 @@ class InternalCallMapHandlerTest extends TestCase
}
/**
* @return iterable<string, array{0: callable-string, 1: array<int|string, string>}>
* @return iterable<string, array{string, array<int|string, string>}>
*/
public function callMapEntryProvider(): iterable
{
@ -404,7 +404,7 @@ class InternalCallMapHandlerTest extends TestCase
* @depends testGetcallmapReturnsAValidCallmap
* @dataProvider callMapEntryProvider
* @coversNothing
* @psalm-param callable-string $functionName
* @psalm-param string $functionName
* @param array<int|string, string> $callMapEntry
*/
public function testIgnoredFunctionsStillFail(string $functionName, array $callMapEntry): void
@ -462,7 +462,7 @@ class InternalCallMapHandlerTest extends TestCase
* @depends testGetcallmapReturnsAValidCallmap
* @depends testIgnoresAreSortedAndUnique
* @dataProvider callMapEntryProvider
* @psalm-param callable-string $functionName
* @psalm-param string $functionName
* @param array<int|string, string> $callMapEntry
*/
public function testCallMapCompliesWithReflection(string $functionName, array $callMapEntry): void