From 6fb8db98b4fb1f9813d8426bb576fba08d46b4ff Mon Sep 17 00:00:00 2001 From: gggeek <giunta.gaetano@gmail.com> Date: Sun, 22 Mar 2015 18:51:22 +0000 Subject: [PATCH] Avoid use of return-by-ref for send() calls --- src/Client.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Client.php b/src/Client.php index 4586b707..ce1d6a5c 100644 --- a/src/Client.php +++ b/src/Client.php @@ -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) -- 2.47.0