- added missing type-hint
This commit is contained in:
Roland Häder 2022-09-22 00:21:42 +02:00
parent c5a4a07a55
commit 80afe13a26
No known key found for this signature in database
GPG key ID: C82EDE5DDFA0BA77

View file

@ -2560,7 +2560,7 @@ class Contact
* @throws HTTPException\InternalServerErrorException
* @throws \ImagickException
*/
public static function updateFromProbe(int $id, string $network = '')
public static function updateFromProbe(int $id, string $network = ''): bool
{
$contact = DBA::selectFirst('contact', ['uid', 'url'], ['id' => $id]);
if (!DBA::isResult($contact)) {