Make data optional in fetchExternalData function

HFP-822
pull/38/head
thomasmars 2017-03-13 14:56:01 +01:00
parent cf3022af43
commit 1b19f2701d
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ interface H5PFrameworkInterface {
* @param $data * @param $data
* @return string The content (response body). NULL if something went wrong * @return string The content (response body). NULL if something went wrong
*/ */
public function fetchExternalData($url, $data); public function fetchExternalData($url, $data = NULL);
/** /**
* Set the tutorial URL for a library. All versions of the library is set * Set the tutorial URL for a library. All versions of the library is set