diff options
author | Gerrit Uitslag <klapinklapin@gmail.com> | 2014-09-29 03:34:17 +0200 |
---|---|---|
committer | Gerrit Uitslag <klapinklapin@gmail.com> | 2014-09-29 03:34:17 +0200 |
commit | e0c26282a603881e8d2f839d94c28dbbfc57d71b (patch) | |
tree | b6b4b7d04d4abc5c6a5121225aefd518d778712b /inc/HTTPClient.php | |
parent | da9572711f54d13ce3c5506971154b0bc359723f (diff) | |
download | rpg-e0c26282a603881e8d2f839d94c28dbbfc57d71b.tar.gz rpg-e0c26282a603881e8d2f839d94c28dbbfc57d71b.tar.bz2 |
scrutinizer documentations issues
Diffstat (limited to 'inc/HTTPClient.php')
-rw-r--r-- | inc/HTTPClient.php | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/inc/HTTPClient.php b/inc/HTTPClient.php index cd4c7c4c5..ea20e3e56 100644 --- a/inc/HTTPClient.php +++ b/inc/HTTPClient.php @@ -57,6 +57,12 @@ class DokuHTTPClient extends HTTPClient { * @triggers HTTPCLIENT_REQUEST_SEND * @author Andreas Gohr <andi@splitbrain.org> */ + /** + * @param string $url + * @param string|array $data the post data either as array or raw data + * @param string $method + * @return bool + */ function sendRequest($url,$data='',$method='GET'){ $httpdata = array('url' => $url, 'data' => $data, @@ -104,7 +110,7 @@ class HTTPClient { var $header_regexp; // if set this RE must match against the headers, else abort var $headers; var $debug; - var $start = 0; // for timings + var $start = 0.0; // for timings var $keep_alive = true; // keep alive rocks // don't set these, read on error |