diff --git a/src/Service/QueueService.php b/src/Service/QueueService.php index 0c10739..b5b5d0e 100644 --- a/src/Service/QueueService.php +++ b/src/Service/QueueService.php @@ -127,11 +127,9 @@ public function createQueue(QueueInterface $queueable): QueueEntityInterface return $this->save($this->entityFactory->createQueue($queueable)); } - public function flush(QueueEntityInterface $entity = null): QueueEntityInterface + public function flush(QueueEntityInterface $entity = null): void { $this->repository->flush($entity); - - return $entity; } public function save(QueueEntityInterface $entity): QueueEntityInterface