Code Duplication    Length = 11-11 lines in 2 locations

src/CTe/Dacte.php 2 locations

@@ 415-425 (lines=11) @@
412
            $y += 13;
413
            $x = $xInic;
414
            $r = $this->zDocOrig($x, $y);
415
            if ($this->modal == '1') {
416
                if ($this->lota == 1) {
417
                    //$y += 24.95;
418
                    $y += 35;
419
                } else {
420
                    $y += 53;
421
                }
422
            } elseif ($this->modal == '3') {
423
                $y += 37.75;
424
            } else {
425
                $y += 24.95;
426
            }
427
            $x = $xInic;
428
            $r = $this->zObs($x, $y);
@@ 459-469 (lines=11) @@
456
                    $r = $this->zModalDutoviario($x, $y);
457
                    break;
458
            }
459
            if ($this->modal == '1') {
460
                if ($this->lota == 1) {
461
                    $y += 37;
462
                } else {
463
                    $y += 8.9;
464
                }
465
            } elseif ($this->modal == '3') {
466
                $y += 24.15;
467
            } else {
468
                $y += 37;
469
            }
470
        } else {
471
            $r = $this->zCabecalho(1, 1, $pag, $totPag);
472
            //Complementado