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

@@ 312-314 (lines=3) @@
309
310
    protected function verifyGetJobArgs($workerName = null, $methodName = null, $prioritize = true)
311
    {
312
        if (null !== $workerName || null !== $methodName || (null !== $this->maxPriority && true !== $prioritize)) {
313
            throw new UnsupportedException('Unsupported');
314
        }
315
    }
316
317
    public function deleteJob(\Dtc\QueueBundle\Model\Job $job)