From: gggeek Date: Wed, 18 Jan 2023 17:29:48 +0000 (+0000) Subject: phpdocs X-Git-Tag: 4.10.0~127 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=b614c94a150fa4773e00bc3730d4283e484e2df9;p=plcapi.git phpdocs --- diff --git a/src/Request.php b/src/Request.php index dce5aae2..4519dfc0 100644 --- a/src/Request.php +++ b/src/Request.php @@ -26,7 +26,9 @@ class Request public $methodname; /** @internal */ public $params = array(); + /** @var int */ public $debug = 0; + /** @var string */ public $content_type = 'text/xml'; // holds data while parsing the response. NB: Not a full Response object diff --git a/src/Response.php b/src/Response.php index 760e7820..5e060a3d 100644 --- a/src/Response.php +++ b/src/Response.php @@ -27,6 +27,7 @@ class Response /** @internal */ public $errstr = ''; public $payload; + /** @var string */ public $content_type = 'text/xml'; protected $httpResponse = array('headers' => array(), 'cookies' => array(), 'raw_data' => '', 'status_code' => null); diff --git a/src/Wrapper.php b/src/Wrapper.php index 0f36fa9e..6fe7eb57 100644 --- a/src/Wrapper.php +++ b/src/Wrapper.php @@ -26,6 +26,7 @@ class Wrapper protected static $logger; + /** @var string */ protected static $namespace = '\\PhpXmlRpc\\'; public function getLogger()