Code Duplication    Length = 7-7 lines in 2 locations

src/Intraface/LegacyCpdf.php 2 locations

@@ 3414-3420 (lines=7) @@
3411
                        $this->o_page($this->objects[$this->currentContents]['onPage'], 'content', $id);
3412
                    }
3413
                    break;
3414
                case 'even':
3415
                    $this->addLooseObjects[$id]='even';
3416
                    $pageObjectId=$this->objects[$this->currentContents]['onPage'];
3417
                    if ($this->objects[$pageObjectId]['info']['pageNum']%2==0) {
3418
                        $this->addObject($id); // hacky huh :)
3419
                    }
3420
                    break;
3421
                case 'odd':
3422
                    $this->addLooseObjects[$id]='odd';
3423
                    $pageObjectId=$this->objects[$this->currentContents]['onPage'];
@@ 3421-3427 (lines=7) @@
3418
                        $this->addObject($id); // hacky huh :)
3419
                    }
3420
                    break;
3421
                case 'odd':
3422
                    $this->addLooseObjects[$id]='odd';
3423
                    $pageObjectId=$this->objects[$this->currentContents]['onPage'];
3424
                    if ($this->objects[$pageObjectId]['info']['pageNum']%2==1) {
3425
                        $this->addObject($id); // hacky huh :)
3426
                    }
3427
                    break;
3428
                case 'next':
3429
                    $this->addLooseObjects[$id]='all';
3430
                    break;