Code Duplication    Length = 3-3 lines in 2 locations

src/ShapeRecord.php 2 locations

@@ 759-761 (lines=3) @@
756
            case 8:
757
                $result = 20 + 8 * count($this->SHPData['points']);
758
                break;
759
            case 28:
760
                $result = 20 + (2 * 4) + (8 + 4) * count($this->SHPData['points']);
761
                break;
762
            case 18:
763
                $result = 20 + (4 * 4) + (8 + 8) * count($this->SHPData['points']);
764
                break;
@@ 762-764 (lines=3) @@
759
            case 28:
760
                $result = 20 + (2 * 4) + (8 + 4) * count($this->SHPData['points']);
761
                break;
762
            case 18:
763
                $result = 20 + (4 * 4) + (8 + 8) * count($this->SHPData['points']);
764
                break;
765
            default:
766
                $result = false;
767
                $this->setError(sprintf('The Shape Type "%s" is not supported.', $this->shapeType));