From b2f136f8202ce3b7861a73de106c67c8dbd9f326 Mon Sep 17 00:00:00 2001 From: Sebastian Bergmann Date: Thu, 20 Jun 2024 08:54:47 +0200 Subject: [PATCH] Narrow type (and remove superfluous documentation) --- src/Framework/TestSuite.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Framework/TestSuite.php b/src/Framework/TestSuite.php index 19cc7cfcd5..6f9fc6e330 100644 --- a/src/Framework/TestSuite.php +++ b/src/Framework/TestSuite.php @@ -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 $tests */ $tests = []; foreach ($this as $test) {