Passed
Push — master ( b091a1...a43e6f )
by Pavel
03:13
created
JsonRpc/Tests/RpcClientTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -25,6 +25,9 @@
 block discarded – undo
25 25
         $response = $collection->getResponse($request);
26 26
     }
27 27
 
28
+    /**
29
+     * @param string $id
30
+     */
28 31
     public function getStaticIdGenerator($id)
29 32
     {
30 33
         $generator = $this->prophesize(IdGeneratorInterface::class);
Please login to merge, or discard this patch.
JsonRpc/Tests/AbstractJsonRpcClientTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
         $guzzle = $this->prophesize(ClientInterface::class);
97 97
         $self = $this;
98 98
         $guzzle->sendAsync(Argument::type(RequestInterface::class))->will(
99
-            function ($args) use ($method, $self, $params, $batch) {
99
+            function($args) use ($method, $self, $params, $batch) {
100 100
                 /** @var RequestInterface $request */
101 101
                 $request = $args[0];
102 102
                 $content = $request->getBody()->getContents();
@@ -117,9 +117,9 @@  discard block
 block discarded – undo
117 117
                 $self::assertEquals($params, $data->params);
118 118
 
119 119
                 return new Promise(
120
-                    function () {
120
+                    function() {
121 121
                     },
122
-                    function () {
122
+                    function() {
123 123
                     }
124 124
                 );
125 125
             }
Please login to merge, or discard this patch.