Skip to content

Commit fd58e53

Browse files
committed
test: fix phpunit data provider typings
1 parent 6123a6c commit fd58e53

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

test/report/Generate/DataProviderTest.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ public function testNamedDataSet(int $x, int $y): void
1717
Allure::runStep(fn () => self::assertSame($x, $y));
1818
}
1919

20+
/**
21+
* @return iterable<string, array<int, int>>
22+
*/
2023
public static function providerNamed(): iterable
2124
{
2225
return [
@@ -34,6 +37,9 @@ public function testListedDataSet(int $x, int $y): void
3437
Allure::runStep(fn () => self::assertSame($x, $y));
3538
}
3639

40+
/**
41+
* @return iterable<int, array<int, int>>
42+
*/
3743
public static function providerListed(): iterable
3844
{
3945
return [

0 commit comments

Comments
 (0)