Skip to content

Commit 0df24c0

Browse files
committed
Update bug-8270.php
1 parent 5efe2a3 commit 0df24c0

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/PHPStan/Analyser/nsrt/bug-8270.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
use function PHPStan\Testing\assertType;
88

9-
function () {
9+
function doFoo() {
1010
/** @var non-empty-list<array{test: false, value: int}> $list */
1111
$list = [];
1212
$list[0]['test'] = true;
@@ -18,9 +18,9 @@ function () {
1818
echo $item['value'];
1919
}
2020
}
21-
};
21+
}
2222

23-
function () {
23+
function doBar() {
2424
$list = [];
2525

2626
for ($i = 0; $i < 10; $i++) {

0 commit comments

Comments
 (0)