Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Jun 17, 2021
1 parent 8e11b1a commit efc0099
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ class AssertFunctionTypeSpecifyingExtensionTest extends TypeInferenceTestCase
/** @return mixed[] */
public function dataFileAsserts(): iterable
{
if (!function_exists('PHPUnit\\Framework\\assertInstanceOf')) {
return [];
}

yield from $this->gatherAssertTypes(__DIR__ . '/data/assert-function.php');
}

Expand Down

0 comments on commit efc0099

Please sign in to comment.