Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Jun 20, 2020
1 parent 44f9d08 commit 261cf18
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/PHPStan/Analyser/NodeScopeResolverTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10066,7 +10066,7 @@ public function testFileAsserts(

/**
* @param string $file
* @return array<string, array{string, Type, Type, int}>
* @return array<string, mixed[]>
*/
private function gatherAssertTypes(string $file): array
{
Expand Down Expand Up @@ -10107,6 +10107,7 @@ private function gatherAssertTypes(string $file): array
$this->fail(sprintf('ERROR: Invalid TrinaryLogic call.'));
}

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

0 comments on commit 261cf18

Please sign in to comment.