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

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