Skip to content

Commit 833ed4e

Browse files
committed
fix
1 parent eb6f8d6 commit 833ed4e

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/Testing/TypeInferenceTestCase.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -395,15 +395,15 @@ public static function gatherAssertTypes(string $file): array
395395
}
396396

397397
if (count($delayedErrors) === 0) {
398-
return $asserts;
398+
return $asserts; // @phpstan-ignore return.type
399399
}
400400

401401
foreach ($asserts as $i => $assert) {
402402
$assert[] = $delayedErrors;
403403
$asserts[$i] = $assert;
404404
}
405405

406-
return $asserts;
406+
return $asserts; // @phpstan-ignore return.type
407407
}
408408

409409
/**

tests/PHPStan/Analyser/NodeScopeResolverTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,9 @@
88
use PHPUnit\Framework\Attributes\DataProvider;
99
use stdClass;
1010
use function array_merge;
11-
use function array_shift;
1211
use function define;
1312
use function dirname;
1413
use function implode;
15-
use function PHPStan\dumpType;
1614
use function sprintf;
1715
use function str_starts_with;
1816
use function strlen;

0 commit comments

Comments
 (0)