Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Jan 21, 2024
1 parent 2d364d7 commit 4e1bfac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/PHPStan/Analyser/AnalyserIntegrationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -1247,7 +1247,7 @@ public function testBug9994(): void
$errors = $this->runAnalyse(__DIR__ . '/data/bug-9994.php');
$this->assertCount(2, $errors);
$this->assertSame('Negated boolean expression is always false.', $errors[0]->getMessage());
$this->assertSame('Parameter #2 $callback of function array_filter expects (callable(1|2|3|null): mixed)|null, false given.', $errors[1]->getMessage());
$this->assertSame('Parameter #2 $callback of function array_filter expects (callable(1|2|3|null): bool)|null, false given.', $errors[1]->getMessage());
}

public function testBug10049(): void
Expand Down

0 comments on commit 4e1bfac

Please sign in to comment.