Code Duplication    Length = 3-3 lines in 2 locations

RabbitMQ/JobManager.php 1 location

@@ 222-224 (lines=3) @@
219
     */
220
    protected function verifyGetJobArgs($workerName = null, $methodName = null, $prioritize = true)
221
    {
222
        if (null !== $workerName || null !== $methodName || (null !== $this->maxPriority && true !== $prioritize)) {
223
            throw new UnsupportedException('Unsupported');
224
        }
225
    }
226
227
    /**

Redis/JobManager.php 1 location

@@ 301-303 (lines=3) @@
298
299
    protected function verifyGetJobArgs($workerName = null, $methodName = null, $prioritize = true)
300
    {
301
        if (null !== $workerName || null !== $methodName || (null !== $this->maxPriority && true !== $prioritize)) {
302
            throw new UnsupportedException('Unsupported');
303
        }
304
    }
305
306
    public function deleteJob(\Dtc\QueueBundle\Model\Job $job)