Skip to content

Commit

Permalink
Narrow type (and remove superfluous documentation)
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Jun 20, 2024
1 parent 541fd37 commit b2f136f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Framework/TestSuite.php
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ public function run(): void
return;
}

/** @var Test[] $tests Local array, so we clear references to instances asap during the real loop. */
/** @psalm-var list<Test> $tests */
$tests = [];

foreach ($this as $test) {
Expand Down

0 comments on commit b2f136f

Please sign in to comment.