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 16b0d9a commit fce0267Copy full SHA for fce0267
tests/Drafts/BaseDraftTestCase.php
@@ -45,14 +45,14 @@ private function setUpTests(bool $isValid): array
45
return $tests;
46
}
47
48
- public function getInvalidTests(): array
+ public function getInvalidTests(): \Generator
49
{
50
- return $this->setUpTests(false);
+ yield from $this->setUpTests(false);
51
52
53
- public function getValidTests(): array
+ public function getValidTests(): \Generator
54
55
- return $this->setUpTests(true);
+ yield from $this->setUpTests(true);
56
57
58
/**
0 commit comments