]> git.mxchange.org Git - friendica.git/commitdiff
Changed:
authorRoland Häder <roland@mxchange.org>
Wed, 21 Sep 2022 22:21:42 +0000 (00:21 +0200)
committerRoland Häder <roland@mxchange.org>
Fri, 9 Jun 2023 19:46:44 +0000 (21:46 +0200)
- added missing type-hint

src/Model/Contact.php

index 720d2638c4ce23ac15312176b23d6581a1a0bf6c..925cc81798f9f5f267d8b99aaee4ad86fd9ca23c 100644 (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)) {