Update phpdoc

HFP-884
pull/10/merge
Frode Petterson 2017-04-04 12:44:22 +02:00
parent c5974e6212
commit 29fd758bf5
1 changed files with 4 additions and 4 deletions

View File

@ -19,10 +19,10 @@ interface H5PFrameworkInterface {
/**
* Fetches a file from a remote server using HTTP GET
*
* @param $url Where you want to get or send data.
* @param $data Data to post to the URL.
* @param $blocking Set to 'FALSE' to instantly time out (fire and forget).
* @param $stream Where to save the file directly on the filesystem.
* @param string $url Where you want to get or send data.
* @param array $data Data to post to the URL.
* @param bool $blocking Set to 'FALSE' to instantly time out (fire and forget).
* @param string $stream Path to where the file should be saved.
* @return string The content (response body). NULL if something went wrong
*/
public function fetchExternalData($url, $data = NULL, $blocking = TRUE, $stream = NULL);