summaryrefslogtreecommitdiff
path: root/inc/HTTPClient.php
diff options
context:
space:
mode:
authorGerrit Uitslag <klapinklapin@gmail.com>2014-09-29 03:34:17 +0200
committerGerrit Uitslag <klapinklapin@gmail.com>2014-09-29 03:34:17 +0200
commite0c26282a603881e8d2f839d94c28dbbfc57d71b (patch)
treeb6b4b7d04d4abc5c6a5121225aefd518d778712b /inc/HTTPClient.php
parentda9572711f54d13ce3c5506971154b0bc359723f (diff)
downloadrpg-e0c26282a603881e8d2f839d94c28dbbfc57d71b.tar.gz
rpg-e0c26282a603881e8d2f839d94c28dbbfc57d71b.tar.bz2
scrutinizer documentations issues
Diffstat (limited to 'inc/HTTPClient.php')
-rw-r--r--inc/HTTPClient.php8
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