diff --git a/htdocs/admin/remotestore/class/externalModules.class.php b/htdocs/admin/remotestore/class/externalModules.class.php index 42d73650ed0..d35ff570921 100644 --- a/htdocs/admin/remotestore/class/externalModules.class.php +++ b/htdocs/admin/remotestore/class/externalModules.class.php @@ -166,7 +166,7 @@ class ExternalModules * * @param string $resource Resource name * @param array|false $options Options for the request - * @return array{status_code:int,response:null|string|array,header:string} + * @return array{status_code:int,response:null|string|array} */ public function callApi($resource, $options = false) { @@ -645,10 +645,11 @@ class ExternalModules * * @param string $file_source_url URL of the remote source * @param int $cache_time Cache time - * @return string Uri of the cache file + * @return bool|string File content */ public function getRemoteYamlFile($file_source_url, $cache_time) { + $yaml = ''; $cache_file = $this->cache_file; $cache_folder = dirname($cache_file);