Skip to content

Commit 678bf84

Browse files
committed
fix phpstan
1 parent f92b648 commit 678bf84

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

tests/PHPStan/DependencyInjection/InvalidIgnoredErrorExceptionTest.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@ class InvalidIgnoredErrorExceptionTest extends PHPStanTestCase
1010

1111
private static string $configFile;
1212

13-
public static function dateValidateIgnoreErrors(): iterable
13+
/**
14+
* @return iterable<array{string, string}>
15+
*/
16+
public static function dataValidateIgnoreErrors(): iterable
1417
{
1518
yield [
1619
__DIR__ . '/invalidIgnoreErrors/message-and-messages.neon',
@@ -34,7 +37,7 @@ public static function dateValidateIgnoreErrors(): iterable
3437
];
3538
}
3639

37-
#[DataProvider('dateValidateIgnoreErrors')]
40+
#[DataProvider('dataValidateIgnoreErrors')]
3841
public function testValidateIgnoreErrors(string $file, string $expectedMessage): void
3942
{
4043
self::$configFile = $file;

0 commit comments

Comments
 (0)