Skip to content

Commit e80620c

Browse files
Update test
1 parent 58be765 commit e80620c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/PHPStan/Analyser/AnalyserIntegrationTest.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1198,9 +1198,7 @@ public function testBug5091(): void
11981198
public function testBug9459(): void
11991199
{
12001200
$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());
1201+
$this->assertCount(0, $errors);
12041202
}
12051203

12061204
public function testBug9573(): void

0 commit comments

Comments
 (0)