Added some missing type-hints
This commit is contained in:
parent
f889aeffb3
commit
69a68be800
2 changed files with 4 additions and 4 deletions
|
@ -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()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue