Avoid use of return-by-ref for send() calls
authorgggeek <giunta.gaetano@gmail.com>
Sun, 22 Mar 2015 18:51:22 +0000 (18:51 +0000)
committergggeek <giunta.gaetano@gmail.com>
Sun, 22 Mar 2015 18:51:22 +0000 (18:51 +0000)
src/Client.php

index 4586b70..ce1d6a5 100644 (file)
@@ -327,13 +327,13 @@ class Client
     /**
      * Send an xmlrpc request.
      *
-     * @param mixed $msg The request object, or an array of requests for using multicall, or the complete xml representation of a request
+     * @param Request|Request[]|string $msg The Request object, or an array of requests for using multicall, or the complete xml representation of a request
      * @param integer $timeout Connection timeout, in seconds, If unspecified, a platform specific timeout will apply
      * @param string $method if left unspecified, the http protocol chosen during creation of the object will be used
      *
      * @return Response
      */
-    public function send($msg, $timeout = 0, $method = '')
+    public function send($msg, $timeout = 0, $method = '')
     {
         // if user does not specify http protocol, use native method of this client
         // (i.e. method set during call to constructor)