We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2fb61a3 commit 5efe2a3Copy full SHA for 5efe2a3
1 file changed
tests/PHPStan/Analyser/nsrt/bug-8270.php
@@ -20,18 +20,6 @@ function () {
20
}
21
};
22
23
-// Optional offset: the composed value has the optional key absent,
24
-// shouldUnionExistingItemType should handle this gracefully.
25
-function () {
26
- /** @var non-empty-list<array{test: false, extra?: string}> $list */
27
- $list = [];
28
- $list[0]['test'] = true;
29
-
30
- foreach ($list as $item) {
31
- assertType('array{test: bool, extra?: string}', $item);
32
- }
33
-};
34
35
function () {
36
$list = [];
37
0 commit comments