Skip to content

Commit 90da2bf

Browse files
committed
Fix
1 parent a6101ca commit 90da2bf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/PHPStan/Analyser/NodeScopeResolverTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,14 @@ private static function findTestFiles(): iterable
3333
}
3434

3535
if (PHP_VERSION_ID < 80000) {
36-
yield from $this->gatherAssertTypes(__DIR__ . '/data/bug-4902.php');
36+
yield __DIR__ . '/data/bug-4902.php';
3737
}
3838

3939
if (PHP_VERSION_ID < 80300) {
4040
if (PHP_VERSION_ID >= 80200) {
4141
yield __DIR__ . '/data/mb-strlen-php82.php';
4242
} elseif (PHP_VERSION_ID >= 80000) {
43-
yield from $this->gatherAssertTypes(__DIR__ . '/data/mb-strlen-php8.php');
43+
yield __DIR__ . '/data/mb-strlen-php8.php';
4444
} else {
4545
yield __DIR__ . '/data/mb-strlen-php73.php';
4646
}

0 commit comments

Comments
 (0)