Completed
Pull Request — master (#3)
by Pavel
03:24 queued 41s
created
Tests/AbstractRpcTest.php 1 patch
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,6 +43,10 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.