diff --git a/test/Github/Tests/Api/Repository/ContentsTest.php b/test/Github/Tests/Api/Repository/ContentsTest.php index e14b3785b46..be930ab1a00 100644 --- a/test/Github/Tests/Api/Repository/ContentsTest.php +++ b/test/Github/Tests/Api/Repository/ContentsTest.php @@ -67,13 +67,13 @@ public function getFailureStubsForExistsTest() } /** + * @param \PHPUnit_Framework_MockObject_Stub|\PHPUnit\Framework\MockObject\Stub\Exception + * * @test * @dataProvider getFailureStubsForExistsTest */ - public function shouldReturnFalseWhenFileIsNotFound(\PHPUnit_Framework_MockObject_Stub $failureStub) + public function shouldReturnFalseWhenFileIsNotFound($failureStub) { - $expectedValue = array('some-header' => 'value'); - $api = $this->getApiMock(); $api->expects($this->once()) ->method('head')