Skip to content

Commit 8bc635b

Browse files
staabmsebastianbergmann
authored andcommitted
use "?" over union-with-null
1 parent c2c86bd commit 8bc635b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Framework/TestSuite.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ class TestSuite implements IteratorAggregate, Reorderable, SelfDescribing, Test
6565
*/
6666
private array $groups = [];
6767
/**
68-
* @psalm-var list<ExecutionOrderDependency>|null
68+
* @psalm-var ?list<ExecutionOrderDependency>
6969
*/
7070
private ?array $requiredTests = null;
7171

@@ -74,7 +74,7 @@ class TestSuite implements IteratorAggregate, Reorderable, SelfDescribing, Test
7474
*/
7575
private array $tests = [];
7676
/**
77-
* @psalm-var list<ExecutionOrderDependency>|null
77+
* @psalm-var ?list<ExecutionOrderDependency>
7878
*/
7979
private ?array $providedTests = null;
8080
private ?Factory $iteratorFilter = null;

0 commit comments

Comments
 (0)