Skip to content

Commit

Permalink
Fix: Reuse reference to emitter
Browse files Browse the repository at this point in the history
  • Loading branch information
localheinz authored and sebastianbergmann committed Dec 11, 2023
1 parent 286ffc2 commit 7013a31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Framework/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -720,7 +720,7 @@ final public function runBare(): void
}

if ($this->status->isSuccess()) {
Event\Facade::emitter()->testPassed(
$emitter->testPassed(
$this->valueObjectForEvents(),
);

Expand Down

0 comments on commit 7013a31

Please sign in to comment.