mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 07:47:22 +01:00
Style
This commit is contained in:
@ -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();
|
||||
}
|
||||
|
||||
@ -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();
|
||||
}
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user