File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff 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 /**
Original file line number Diff line number Diff line change 88use PHPUnit \Framework \Attributes \DataProvider ;
99use stdClass ;
1010use function array_merge ;
11- use function array_shift ;
1211use function define ;
1312use function dirname ;
1413use function implode ;
15- use function PHPStan \dumpType ;
1614use function sprintf ;
1715use function str_starts_with ;
1816use function strlen ;
You can’t perform that action at this time.
0 commit comments