diff --git a/src/Service/QueueService.php b/src/Service/QueueService.php index 116af38..fd7ef90 100644 --- a/src/Service/QueueService.php +++ b/src/Service/QueueService.php @@ -141,14 +141,12 @@ protected function send(Entity\AbstractMailQueueEntry $entry) { /** - * @param \ADT\BackgroundQueue\Entity\QueueEntity $entity + * @param int $entryId * @return bool * * new_rabbit */ - public function process(\ADT\BackgroundQueue\Entity\QueueEntity $entity) { - $parameters = $entity->getParameters(); - $entryId = $parameters[self::PARAMETER_NAME_MAIL_QUEUE_ENTRY_ID]; + public function process(int $entryId) { $entry = $this->em->find($this->queueEntryClass, $entryId);