From 80afe13a260d2a765fb7e98c661853a05b95eb06 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Thu, 22 Sep 2022 00:21:42 +0200 Subject: [PATCH] Changed: - added missing type-hint --- src/Model/Contact.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Model/Contact.php b/src/Model/Contact.php index 720d2638c4..925cc81798 100644 --- a/src/Model/Contact.php +++ b/src/Model/Contact.php @@ -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)) { -- 2.39.5