mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 12:32:08 +02:00
MDL-43063 core: fix phpdoc comment codechecker issue.
This commit is contained in:
parent
ec36fafc0f
commit
feff774adb
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user