Skip to content

Commit 261cf18

Browse files
committed
Fix
1 parent 44f9d08 commit 261cf18

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/PHPStan/Analyser/NodeScopeResolverTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10066,7 +10066,7 @@ public function testFileAsserts(
1006610066

1006710067
/**
1006810068
* @param string $file
10069-
* @return array<string, array{string, Type, Type, int}>
10069+
* @return array<string, mixed[]>
1007010070
*/
1007110071
private function gatherAssertTypes(string $file): array
1007210072
{
@@ -10107,6 +10107,7 @@ private function gatherAssertTypes(string $file): array
1010710107
$this->fail(sprintf('ERROR: Invalid TrinaryLogic call.'));
1010810108
}
1010910109

10110+
// @phpstan-ignore-next-line
1011010111
$expectedertaintyValue = TrinaryLogic::{$certainty->name->toString()}();
1011110112
$variable = $node->args[1]->value;
1011210113
if (!$variable instanceof Node\Expr\Variable) {

0 commit comments

Comments
 (0)