Code Duplication    Length = 3-3 lines in 2 locations

RabbitMQ/JobManager.php 1 location

@@ 213-215 (lines=3) @@
210
     */
211
    protected function verifyGetJobArgs($workerName = null, $methodName = null, $prioritize = true)
212
    {
213
        if (null !== $workerName || null !== $methodName || (null !== $this->maxPriority && true !== $prioritize)) {
214
            throw new UnsupportedException('Unsupported');
215
        }
216
    }
217
218
    /**

Redis/JobManager.php 1 location

@@ 335-337 (lines=3) @@
332
     */
333
    protected function verifyGetJobArgs($workerName = null, $methodName = null, $prioritize = true)
334
    {
335
        if (null !== $workerName || null !== $methodName || (null !== $this->maxPriority && true !== $prioritize)) {
336
            throw new UnsupportedException('Unsupported');
337
        }
338
    }
339
340
    public function deleteJob(\Dtc\QueueBundle\Model\Job $job)