diff --git a/tests/Unit/PHPStan/Lib/TypeNarrowerTest.php b/tests/Unit/PHPStan/Lib/TypeNarrowerTest.php index dd959df..79be96e 100644 --- a/tests/Unit/PHPStan/Lib/TypeNarrowerTest.php +++ b/tests/Unit/PHPStan/Lib/TypeNarrowerTest.php @@ -19,6 +19,7 @@ public function testGetTypesFromStringArray(): void $arg = new Arg($this->createMock(Expr::class)); $narrower = $this->getMockBuilder(TypeNarrower::class) + ->onlyMethods([]) ->disableOriginalConstructor() ->getMock();