We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 85dac94 commit af564a4Copy full SHA for af564a4
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