We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6bc08ba commit 17e4af9Copy full SHA for 17e4af9
tests/tests/PHPStan/TestDynamicReturnTypeExtension.php
@@ -9,7 +9,7 @@ class TestDynamicReturnTypeExtension extends \PHPStan\Testing\TypeInferenceTestC
9
/**
10
* @return iterable<mixed>
11
*/
12
- public function dataFileAsserts(): iterable {
+ public static function dataFileAsserts(): iterable {
13
// Path to a file with actual asserts of expected types:
14
yield from self::gatherAssertTypes( dirname( __DIR__, 2 ) . '/data/parse_url.php' );
15
yield from self::gatherAssertTypes( dirname( __DIR__, 2 ) . '/data/get_flag_value.php' );
0 commit comments