We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58be765 commit e80620cCopy full SHA for e80620c
tests/PHPStan/Analyser/AnalyserIntegrationTest.php
@@ -1198,9 +1198,7 @@ public function testBug5091(): void
1198
public function testBug9459(): void
1199
{
1200
$errors = $this->runAnalyse(__DIR__ . '/data/bug-9459.php');
1201
- $this->assertCount(1, $errors);
1202
- $this->assertSame('PHPDoc tag @var with type callable(): array is not subtype of native type Closure(): array{}.', $errors[0]->getMessage());
1203
- $this->assertSame(10, $errors[0]->getLine());
+ $this->assertCount(0, $errors);
1204
}
1205
1206
public function testBug9573(): void
0 commit comments