public function beforeWork(): void
    {
        parent::beforeWork();

        shuffle($this->queues);

        if (empty($this->queues) == false) {
            $this->logger->info(
                'Monitoring the following queues: {queues}',
                ['queues' => implode(', ', $this->queues)]
            );
        }
    }
public function beforeWork(): void
    {
        parent::beforeWork();

        shuffle($this->queues);

        if (empty($this->queues) == false) {
            $this->logger->info(
                'Monitoring the following queues: {queues}',
                ['queues' => implode(', ', $this->queues)]
            );
        }
    }
{@inheritdoc}

@return void