Skip to content

Commit

Permalink
Update testing.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes authored Mar 30, 2023
1 parent f3711a2 commit edfb365
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website/src/developing-extensions/testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,10 @@ class MyContainerDynamicReturnTypeExtensionTest extends TypeInferenceTestCase
/**
* @return iterable<mixed>
*/
public function dataFileAsserts(): iterable
public static function dataFileAsserts(): iterable
{
// path to a file with actual asserts of expected types:
yield from $this->gatherAssertTypes(__DIR__ . '/data/my-container-types.php');
yield from self::gatherAssertTypes(__DIR__ . '/data/my-container-types.php');
}

/**
Expand Down

0 comments on commit edfb365

Please sign in to comment.