Skip to content

Commit ad95f98

Browse files
committed
Fix failing test
1 parent 3c262c5 commit ad95f98

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/Unit/PHPStan/Lib/TypeNarrowerTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ public function testGetTypesFromStringArray(): void
1919
$arg = new Arg($this->createMock(Expr::class));
2020

2121
$narrower = $this->getMockBuilder(TypeNarrower::class)
22+
->onlyMethods([])
2223
->disableOriginalConstructor()
2324
->getMock();
2425

0 commit comments

Comments
 (0)