From cd55ead3e2810e209b726faca12fa749f6875d0f Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Sat, 16 Dec 2017 18:33:16 +0100 Subject: Fix A LOT of type problems, logic flaws, uninitialized variables etc. Most of them were found by phpstorm, so I put in some time and went through the list, fixing quite a bunch of them. --- inc/download.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'inc/download.inc.php') diff --git a/inc/download.inc.php b/inc/download.inc.php index e5764d37..39f8e2e2 100644 --- a/inc/download.inc.php +++ b/inc/download.inc.php @@ -69,7 +69,7 @@ class Download * POST-Download file, obey given timeout in seconds * Return data on success, false on failure * @param string $url URL to fetch - * @param array $params POST params to set in body, list of key-value-pairs + * @param array|false $params POST params to set in body, list of key-value-pairs * @param int $timeout timeout in seconds * @param int $code HTTP response code, or 999 on error */ -- cgit v1.2.3-55-g7522