Skip to content

Commit 5064ea4

Browse files
committed
Update TypeInferenceTestCase.php
1 parent 833ed4e commit 5064ea4

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/Testing/TypeInferenceTestCase.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -221,9 +221,9 @@ public function assertFileAsserts(
221221

222222
/**
223223
* @return array<string, (
224-
* array{0: 'type', 1: string, 2: string, 3: string, 4: int, 5?: string}|
225-
* array{0: 'superType', 1: string, 2: string, 3: string, 4: bool, 5: int, 6?: string}|
226-
* array{0: 'variableCertainty', 1: string, 2: TrinaryLogic, 3: TrinaryLogic, 4: string, 5: int, 6?: string}
224+
* array{0: 'type', 1: string, 2: int|float|string|bool|null, 3: string, 4: int}|
225+
* array{0: 'superType', 1: string, 2: string, 3: string, 4: bool, 5: int}|
226+
* array{0: 'variableCertainty', 1: string, 2: TrinaryLogic, 3: TrinaryLogic, 4: string, 5: int}
227227
* )>
228228
*
229229
* @api
@@ -395,15 +395,15 @@ public static function gatherAssertTypes(string $file): array
395395
}
396396

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

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

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

409409
/**

0 commit comments

Comments
 (0)