Code Duplication    Length = 3-3 lines in 2 locations

src/ShapeRecord.php 2 locations

@@ 629-631 (lines=3) @@
626
            case 8:
627
                $result = 20 + 8 * count($this->SHPData['points']);
628
                break;
629
            case 28:
630
                $result = 20 + (2 * 4) + (8 + 4) * count($this->SHPData['points']);
631
                break;
632
            case 18:
633
                $result = 20 + (4 * 4) + (8 + 8) * count($this->SHPData['points']);
634
                break;
@@ 632-634 (lines=3) @@
629
            case 28:
630
                $result = 20 + (2 * 4) + (8 + 4) * count($this->SHPData['points']);
631
                break;
632
            case 18:
633
                $result = 20 + (4 * 4) + (8 + 8) * count($this->SHPData['points']);
634
                break;
635
            default:
636
                $result = false;
637
                $this->setError(sprintf('The Shape Type "%s" is not supported.', $this->shapeType));