1
0
Fork 0

Added some missing type-hints

This commit is contained in:
Roland Häder 2022-06-23 10:18:38 +02:00
commit 69a68be800
Signed by: roland
GPG key ID: C82EDE5DDFA0BA77
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()) {