We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 638d3f0 commit d2f2b6bCopy full SHA for d2f2b6b
1 file changed
src/Codeception/Specify/SpecifyTest.php
@@ -63,14 +63,14 @@ public function count()
63
*
64
* @return TestResult
65
*/
66
- public function run(TestResult $result = null)
+ public function run(TestResult $result = null) : PHPUnit\Framework\TestResult
67
{
68
try {
69
call_user_func_array($this->test, $this->example);
70
} catch (AssertionFailedError $e) {
71
$result->addFailure(clone($this), $e, $result->time());
72
}
73
-
+ return $result;
74
75
76
/**
0 commit comments