// 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;
/**
* 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()
{