This commit is contained in:
Nuno Maduro
2024-07-24 21:54:52 +01:00
parent 101e26749a
commit 45cce6ce93
57 changed files with 131 additions and 131 deletions

View File

@ -39,7 +39,7 @@ final class AfterEachCall
) {
$this->closure = $closure instanceof Closure ? $closure : NullClosure::create();
$this->proxies = new HigherOrderMessageCollection();
$this->proxies = new HigherOrderMessageCollection;
$this->describing = DescribeCall::describing();
}

View File

@ -47,8 +47,8 @@ final class BeforeEachCall
) {
$this->closure = $closure instanceof Closure ? $closure : NullClosure::create();
$this->testCallProxies = new HigherOrderMessageCollection();
$this->testCaseProxies = new HigherOrderMessageCollection();
$this->testCallProxies = new HigherOrderMessageCollection;
$this->testCaseProxies = new HigherOrderMessageCollection;
$this->describing = DescribeCall::describing();
}

View File

@ -97,7 +97,7 @@ final class TestCall
$closure->call($this);
};
new AfterEachCall($this->testSuite, $this->filename, $when->bindTo(new \stdClass()));
new AfterEachCall($this->testSuite, $this->filename, $when->bindTo(new \stdClass));
return $this;
}