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 720d263..925cc81 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)) {