Completed
Push — 2.0 ( 96404c...7f22ab )
by Marco
13:11
created
src/RpcServer.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -566,4 +566,4 @@
 block discarded – undo
566 566
 
567 567
     }
568 568
 
569
- }
569
+    }
Please login to merge, or discard this patch.
src/RpcMethod.php 1 patch
Doc Comments   +3 added lines, -5 removed lines patch added patch discarded remove patch
@@ -94,8 +94,7 @@  discard block
 block discarded – undo
94 94
      * Class constructor
95 95
      *
96 96
      * @param string $name
97
-     * @param mixed  $callback
98
-     * @param string $method
97
+     * @param callable  $callback
99 98
      *
100 99
      * @throws Exception
101 100
      */
@@ -170,7 +169,7 @@  discard block
 block discarded – undo
170 169
     /**
171 170
      * Get additional arguments to forward to callback
172 171
      *
173
-     * @return array
172
+     * @return callable
174 173
      */
175 174
     public function getArguments() {
176 175
 
@@ -379,8 +378,7 @@  discard block
 block discarded – undo
379 378
      * Static class constructor - create an RpcMethod object
380 379
      *
381 380
      * @param string            $name
382
-     * @param string|function   $callback
383
-     * @param string|null       $method
381
+     * @param string   $callback
384 382
      *
385 383
      * @return RpcMethod
386 384
      * @throws Exception
Please login to merge, or discard this patch.