From feff774adb0b9b216f3bd394956b205bca36f4b7 Mon Sep 17 00:00:00 2001 From: Simey Lameze Date: Mon, 14 Jul 2014 15:55:23 +0800 Subject: [PATCH] MDL-43063 core: fix phpdoc comment codechecker issue. --- lib/filelib.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/filelib.php b/lib/filelib.php index f6a33164323..9450aba09db 100644 --- a/lib/filelib.php +++ b/lib/filelib.php @@ -1166,7 +1166,8 @@ function format_postdata_for_curlcall($postdata) { * @param string $tofile store the downloaded content to file instead of returning it. * @param bool $calctimeout false by default, true enables an extra head request to try and determine * filesize and appropriately larger timeout based on $CFG->curltimeoutkbitrate - * @return mixed false if request failed or content of the file as string if ok. True if file downloaded into $tofile successfully. + * @return stdClass|string|bool stdClass object if $fullresponse is true, false if request failed, true + * if file downloaded into $tofile successfully or the file content as a string. */ function download_file_content($url, $headers=null, $postdata=null, $fullresponse=false, $timeout=300, $connecttimeout=20, $skipcertverify=false, $tofile=NULL, $calctimeout=false) { global $CFG; -- 2.39.2