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

@@ 292-294 (lines=3) @@
289
290
    protected function verifyGetJobArgs($workerName = null, $methodName = null, $prioritize = true)
291
    {
292
        if (null !== $workerName || null !== $methodName || (null !== $this->maxPriority && true !== $prioritize)) {
293
            throw new UnsupportedException('Unsupported');
294
        }
295
    }
296
297
    public function deleteJob(\Dtc\QueueBundle\Model\Job $job)