Skip to content

Commit edfb365

Browse files
authored
Update testing.md
1 parent f3711a2 commit edfb365

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

website/src/developing-extensions/testing.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,10 @@ class MyContainerDynamicReturnTypeExtensionTest extends TypeInferenceTestCase
7878
/**
7979
* @return iterable<mixed>
8080
*/
81-
public function dataFileAsserts(): iterable
81+
public static function dataFileAsserts(): iterable
8282
{
8383
// path to a file with actual asserts of expected types:
84-
yield from $this->gatherAssertTypes(__DIR__ . '/data/my-container-types.php');
84+
yield from self::gatherAssertTypes(__DIR__ . '/data/my-container-types.php');
8585
}
8686

8787
/**

0 commit comments

Comments
 (0)