Added some missing type-hints
This commit is contained in:
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user