1
1
Fork 0
- added missing type-hint
This commit is contained in:
Roland Häder 2022-09-22 00:21:42 +02:00
parent c5a4a07a55
commit 80afe13a26
Signed by: roland
GPG key ID: C82EDE5DDFA0BA77

View file

@ -2560,7 +2560,7 @@ class Contact
* @throws HTTPException\InternalServerErrorException * @throws HTTPException\InternalServerErrorException
* @throws \ImagickException * @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]); $contact = DBA::selectFirst('contact', ['uid', 'url'], ['id' => $id]);
if (!DBA::isResult($contact)) { if (!DBA::isResult($contact)) {