X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=src%2FResponse.php;h=7e2ebb66bb38ef312337bfeab58a882a915910fc;hb=cc67a43993662a5a3f92801b96b89ee6e3998532;hp=90980ac9b042e81fc1111620b5d6ae943084a184;hpb=8f01888ce85ef2e3748b236e55bbab62a363c2a1;p=plcapi.git diff --git a/src/Response.php b/src/Response.php index 90980ac9..7e2ebb66 100644 --- a/src/Response.php +++ b/src/Response.php @@ -33,7 +33,6 @@ class Response // error response $this->errno = $fCode; $this->errstr = $fString; - //$this->errstr = htmlspecialchars($fString); // XXX: encoding probably shouldn't be done here; fix later. } else { // successful response $this->val = $val; @@ -76,7 +75,7 @@ class Response /** * Returns the value received by the server. * - * @return 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 + * @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 */ public function value() {