@@ -43,6 +43,10 @@ discard block |
||
| 43 | 43 | return $mock->reveal(); |
| 44 | 44 | } |
| 45 | 45 | |
| 46 | + /** |
|
| 47 | + * @param integer $code |
|
| 48 | + * @param string $message |
|
| 49 | + */ |
|
| 46 | 50 | protected function getErrorMock($code, $message) |
| 47 | 51 | { |
| 48 | 52 | $mock = $this->prophesize(RpcErrorInterface::class); |
@@ -56,7 +60,7 @@ discard block |
||
| 56 | 60 | * @param RpcRequestInterface[] $requests |
| 57 | 61 | * @param RpcResponseInterface[] $responses |
| 58 | 62 | * |
| 59 | - * @return \PHPUnit_Framework_MockObject_MockObject|RpcClientInterface |
|
| 63 | + * @return RpcClientInterface |
|
| 60 | 64 | */ |
| 61 | 65 | protected function getClientMock(array $requests = [], array $responses = []) |
| 62 | 66 | { |