diff --git a/src/Worker/ContactDiscoveryForUser.php b/src/Worker/ContactDiscoveryForUser.php index 9fc71b3223..22eb053df6 100644 --- a/src/Worker/ContactDiscoveryForUser.php +++ b/src/Worker/ContactDiscoveryForUser.php @@ -13,7 +13,6 @@ class ContactDiscoveryForUser { /** * Discover contact relations - * @param string $url */ public static function execute(int $uid) { diff --git a/src/Worker/Notifier.php b/src/Worker/Notifier.php index 42868e4e0e..7681daf4a5 100644 --- a/src/Worker/Notifier.php +++ b/src/Worker/Notifier.php @@ -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; diff --git a/src/Worker/UpdateServerPeers.php b/src/Worker/UpdateServerPeers.php index 9c5cce731b..94e04a240d 100644 --- a/src/Worker/UpdateServerPeers.php +++ b/src/Worker/UpdateServerPeers.php @@ -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)