added missing return types

This commit is contained in:
Adrian Nürnberger
2020-06-19 20:51:27 +02:00
parent 75f7ee0acf
commit 5be1edd7b7
3 changed files with 16 additions and 0 deletions

View File

@ -129,12 +129,21 @@ trait TestCase
/**
* Runs the test.
*
* @return mixed
*
* @throws \Throwable
*/
public function __test()
{
return $this->__callClosure($this->__test, func_get_args());
}
/**
* @return mixed
*
* @throws \Throwable
*/
private function __callClosure(Closure $closure, array $arguments)
{
return ExceptionTrace::ensure(function () use ($closure, $arguments) {