migrate admin-autoupdate

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2022-03-16 14:32:10 +01:00
parent d30c9a2ff7
commit dc798c63c7
2 changed files with 73 additions and 11 deletions

View File

@@ -36,7 +36,7 @@ class HttpClient
*
* @throws Exception
*/
public static function fileGet(string $url, string $target): array
public static function fileGet(string $url, string $target)
{
$fh = fopen($target, 'w');
$ch = curl_init();