Fix errors in Worker namespace

This commit is contained in:
Art4 2024-12-07 15:23:38 +00:00
parent 7abdc17711
commit c3586cb51a
3 changed files with 3 additions and 2 deletions

View file

@ -13,7 +13,6 @@ class ContactDiscoveryForUser
{ {
/** /**
* Discover contact relations * Discover contact relations
* @param string $url
*/ */
public static function execute(int $uid) public static function execute(int $uid)
{ {

View file

@ -7,6 +7,7 @@
namespace Friendica\Worker; namespace Friendica\Worker;
use Exception;
use Friendica\Core\Hook; use Friendica\Core\Hook;
use Friendica\Core\Logger; use Friendica\Core\Logger;
use Friendica\Core\Protocol; use Friendica\Core\Protocol;
@ -21,6 +22,7 @@ use Friendica\Model\Item;
use Friendica\Model\Post; use Friendica\Model\Post;
use Friendica\Model\Tag; use Friendica\Model\Tag;
use Friendica\Model\User; use Friendica\Model\User;
use Friendica\Network\HTTPException\InternalServerErrorException;
use Friendica\Protocol\Activity; use Friendica\Protocol\Activity;
use Friendica\Protocol\ActivityPub; use Friendica\Protocol\ActivityPub;
use Friendica\Protocol\ActivityPub\Transmitter; use Friendica\Protocol\ActivityPub\Transmitter;

View file

@ -23,7 +23,7 @@ class UpdateServerPeers
/** /**
* Query the given server for their known peers * Query the given server for their known peers
* *
* @param string $gserver Server URL * @param string $url Server URL
* @return void * @return void
*/ */
public static function execute(string $url) public static function execute(string $url)