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 0392270 commit c0c575fCopy full SHA for c0c575f
tests/Api/TestCase.php
@@ -17,12 +17,13 @@
17
use Gitlab\Client;
18
use PHPUnit\Framework\TestCase as BaseTestCase;
19
use Psr\Http\Client\ClientInterface;
20
+use PHPUnit\Framework\MockObject\MockObject;
21
22
abstract class TestCase extends BaseTestCase
23
{
24
abstract protected function getApiClass(): string;
25
- protected function getApiMock(array $methods = []): \PHPUnit\Framework\MockObject\MockObject
26
+ protected function getApiMock(array $methods = []): MockObject
27
28
$httpClient = $this->getMockBuilder(ClientInterface::class)
29
->onlyMethods(['sendRequest'])
0 commit comments