Added some missing type-hints

This commit is contained in:
Roland Häder
2022-06-23 10:18:38 +02:00
parent f889aeffb3
commit 69a68be800
2 changed files with 4 additions and 4 deletions

View File

@@ -788,7 +788,7 @@ class Probe
return $data;
}
public static function pollZot($url, $data)
public static function pollZot(string $url, array $data): array
{
$curlResult = DI::httpClient()->get($url, HttpClientAccept::JSON);
if ($curlResult->isTimeout()) {