Code Duplication    Length = 6-6 lines in 3 locations

lib/Cpdf.php 3 locations

@@ 472-477 (lines=6) @@
469
                            $o['info'][$k] = $v;
470
                            break;
471
472
                        case 'Direction':
473
                            if (!in_array($v, array('L2R', 'R2L'))) {
474
                                continue;
475
                            }
476
                            $o['info'][$k] = $v;
477
                            break;
478
479
                        case 'PrintScaling':
480
                            if (!in_array($v, array('None', 'AppDefault'))) {
@@ 479-484 (lines=6) @@
476
                            $o['info'][$k] = $v;
477
                            break;
478
479
                        case 'PrintScaling':
480
                            if (!in_array($v, array('None', 'AppDefault'))) {
481
                                continue;
482
                            }
483
                            $o['info'][$k] = $v;
484
                            break;
485
486
                        case 'Duplex':
487
                            if (!in_array($v, array('None', 'AppDefault'))) {
@@ 486-491 (lines=6) @@
483
                            $o['info'][$k] = $v;
484
                            break;
485
486
                        case 'Duplex':
487
                            if (!in_array($v, array('None', 'AppDefault'))) {
488
                                continue;
489
                            }
490
                            $o['info'][$k] = $v;
491
                            break;
492
493
                        // Integer array
494
                        case 'PrintPageRange':