Completed
Push — master ( a9ff63...64b192 )
by Gaetano
06:26 queued 01:55
created
src/Response.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@
 block discarded – undo
75 75
     /**
76 76
      * Returns the value received by the server.
77 77
      *
78
-     * @return Value|string|mixed the xmlrpc value object returned by the server. Might be an xml string or php value if the response has been created by specially configured Client objects
78
+     * @return integer the xmlrpc value object returned by the server. Might be an xml string or php value if the response has been created by specially configured Client objects
79 79
      */
80 80
     public function value()
81 81
     {
Please login to merge, or discard this patch.
src/Server.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -348,7 +348,8 @@
 block discarded – undo
348 348
     /**
349 349
      * Parse http headers received along with xmlrpc request. If needed, inflate request.
350 350
      *
351
-     * @return mixed Response|null on success or an error Response
351
+     * @param string $data
352
+     * @return Response|null Response|null on success or an error Response
352 353
      */
353 354
     protected function parseRequestHeaders(&$data, &$reqEncoding, &$respEncoding, &$respCompression)
354 355
     {
Please login to merge, or discard this patch.
src/Value.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
      * Build an xmlrpc value.
41 41
      * When no value or type is passed in, the value is left uninitialized, and the value can be added later
42 42
      *
43
-     * @param mixed $val
43
+     * @param integer $val
44 44
      * @param string $type any valid xmlrpc type name (lowercase). If null, 'string' is assumed
45 45
      */
46 46
     public function __construct($val = -1, $type = '')
Please login to merge, or discard this patch.
src/Wrapper.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -392,7 +392,7 @@  discard block
 block discarded – undo
392 392
      * @todo validate params? In theory all validation is left to the dispatch map...
393 393
      * @todo add support for $catchWarnings
394 394
      *
395
-     * @param $callable
395
+     * @param callable $callable
396 396
      * @param array $extraOptions
397 397
      * @param string $plainFuncName
398 398
      * @param string $funcDesc
@@ -454,7 +454,7 @@  discard block
 block discarded – undo
454 454
 
455 455
     /**
456 456
      * Return a name for a new function, based on $callable, insuring its uniqueness
457
-     * @param mixed $callable a php callable, or the name of an xmlrpc method
457
+     * @param callable $callable a php callable, or the name of an xmlrpc method
458 458
      * @param string $newFuncName when not empty, it is used instead of the calculated version
459 459
      * @return string
460 460
      */
@@ -492,7 +492,7 @@  discard block
 block discarded – undo
492 492
     }
493 493
 
494 494
     /**
495
-     * @param $callable
495
+     * @param callable $callable
496 496
      * @param string $newFuncName
497 497
      * @param array $extraOptions
498 498
      * @param string $plainFuncName
Please login to merge, or discard this patch.
tests/1ParsingBugsTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -33,6 +33,9 @@
 block discarded – undo
33 33
         }
34 34
     }
35 35
 
36
+    /**
37
+     * @param string $methodName
38
+     */
36 39
     protected function newMsg($methodName, $params = array())
37 40
     {
38 41
         $msg = new xmlrpcmsg($methodName, $params);
Please login to merge, or discard this patch.
tests/3LocalhostTest.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
 
115 115
     /**
116 116
      * @param PhpXmlRpc\Request|array $msg
117
-     * @param int|array $errorCode
117
+     * @param integer $errorCode
118 118
      * @param bool $returnResponse
119 119
      * @return mixed|\PhpXmlRpc\Response|\PhpXmlRpc\Response[]|\PhpXmlRpc\Value|string|void
120 120
      */
@@ -419,6 +419,9 @@  discard block
 block discarded – undo
419 419
         }
420 420
     }
421 421
 
422
+    /**
423
+     * @param string $method
424
+     */
422 425
     public function _multicall_msg($method, $params)
423 426
     {
424 427
         $struct['methodName'] = new xmlrpcval($method, 'string');
Please login to merge, or discard this patch.