From 23ef4a99bb9e612e62b7627b1b4d6a5238837343 Mon Sep 17 00:00:00 2001 From: Michael Date: Wed, 3 Aug 2022 04:31:56 +0000 Subject: [PATCH] Changes after code review --- src/Protocol/ActivityPub/Queue.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Protocol/ActivityPub/Queue.php b/src/Protocol/ActivityPub/Queue.php index 87d491bd9..751ee93bd 100644 --- a/src/Protocol/ActivityPub/Queue.php +++ b/src/Protocol/ActivityPub/Queue.php @@ -85,7 +85,7 @@ class Queue } /** - * Checks if an entryy for a given url and type already exists + * Checks if an entry for a given url and type already exists * * @param string $url * @param string $type @@ -144,16 +144,16 @@ class Queue /** * Set the worker id for the queue entry * - * @param int $entryid + * @param int $entry_id * @param int $wid * @return void */ - public static function setWorkerId(int $entryid, int $wid) + public static function setWorkerId(int $entry_id, int $wid) { - if (empty($entryid) || empty($wid)) { + if (empty($entry_id) || empty($wid)) { return; } - DBA::update('inbox-entry', ['wid' => $wid], ['id' => $entryid]); + DBA::update('inbox-entry', ['wid' => $wid], ['id' => $entry_id]); } /**