Skip to content

Commit 17e4af9

Browse files
committed
Make data provider static
1 parent 6bc08ba commit 17e4af9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/tests/PHPStan/TestDynamicReturnTypeExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class TestDynamicReturnTypeExtension extends \PHPStan\Testing\TypeInferenceTestC
99
/**
1010
* @return iterable<mixed>
1111
*/
12-
public function dataFileAsserts(): iterable {
12+
public static function dataFileAsserts(): iterable {
1313
// Path to a file with actual asserts of expected types:
1414
yield from self::gatherAssertTypes( dirname( __DIR__, 2 ) . '/data/parse_url.php' );
1515
yield from self::gatherAssertTypes( dirname( __DIR__, 2 ) . '/data/get_flag_value.php' );

0 commit comments

Comments
 (0)