Code Duplication    Length = 5-5 lines in 2 locations

src/Redis/Redis.php 2 locations

@@ 362-366 (lines=5) @@
359
    {
360
        $command = Enum::BITFIELD;
361
        switch ($subCommand = strtoupper($subCommand)) {
362
            case 'GET' : {
363
                list ($type, $offset) = $param;
364
                $args = [$subCommand, $type, $offset];
365
                break;
366
            }
367
            case 'SET' : {
368
                list ($type, $offset, $value) = $param;
369
                $args = [$subCommand, $type, $offset, $value];
@@ 367-371 (lines=5) @@
364
                $args = [$subCommand, $type, $offset];
365
                break;
366
            }
367
            case 'SET' : {
368
                list ($type, $offset, $value) = $param;
369
                $args = [$subCommand, $type, $offset, $value];
370
                break;
371
            }
372
            case 'INCRBY' : {
373
                list ($type, $offset, $increment) = $param;
374
                $args = [$type, $offset, $increment];