]> git.mxchange.org Git - friendica.git/commitdiff
Fix errors in Worker namespace
authorArt4 <art4@wlabs.de>
Sat, 7 Dec 2024 15:23:38 +0000 (15:23 +0000)
committerArt4 <art4@wlabs.de>
Sat, 7 Dec 2024 15:23:38 +0000 (15:23 +0000)
src/Worker/ContactDiscoveryForUser.php
src/Worker/Notifier.php
src/Worker/UpdateServerPeers.php

index 9fc71b3223aaaec16cebbf51823a3003cf5e0e57..22eb053df651b8df6e332347f2c5fa7857b5ddec 100644 (file)
@@ -13,7 +13,6 @@ class ContactDiscoveryForUser
 {
        /**
         * Discover contact relations
-        * @param string $url
         */
        public static function execute(int $uid)
        {
index 42868e4e0edd0a3cc8d68e213f746b5b0d98dc1e..7681daf4a5f997381bb87b6f228b540f264aace1 100644 (file)
@@ -7,6 +7,7 @@
 
 namespace Friendica\Worker;
 
+use Exception;
 use Friendica\Core\Hook;
 use Friendica\Core\Logger;
 use Friendica\Core\Protocol;
@@ -21,6 +22,7 @@ use Friendica\Model\Item;
 use Friendica\Model\Post;
 use Friendica\Model\Tag;
 use Friendica\Model\User;
+use Friendica\Network\HTTPException\InternalServerErrorException;
 use Friendica\Protocol\Activity;
 use Friendica\Protocol\ActivityPub;
 use Friendica\Protocol\ActivityPub\Transmitter;
index 9c5cce731b6a9b74c37469cfa639de9154ddb995..94e04a240d6f3f10e5aab6997f8ee0d6b0d615bf 100644 (file)
@@ -23,7 +23,7 @@ class UpdateServerPeers
        /**
         * Query the given server for their known peers
         *
-        * @param string $gserver Server URL
+        * @param string $url Server URL
         * @return void
         */
        public static function execute(string $url)