Skip to content

Commit 7013a31

Browse files
localheinzsebastianbergmann
authored andcommitted
Fix: Reuse reference to emitter
1 parent 286ffc2 commit 7013a31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Framework/TestCase.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -720,7 +720,7 @@ final public function runBare(): void
720720
}
721721

722722
if ($this->status->isSuccess()) {
723-
Event\Facade::emitter()->testPassed(
723+
$emitter->testPassed(
724724
$this->valueObjectForEvents(),
725725
);
726726

0 commit comments

Comments
 (0)