Code Duplication    Length = 3-3 lines in 2 locations

src/ShapeRecord.php 2 locations

@@ 700-702 (lines=3) @@
697
            case 8:
698
                $result = 20 + 8 * count($this->SHPData['points']);
699
                break;
700
            case 28:
701
                $result = 20 + (2 * 4) + (8 + 4) * count($this->SHPData['points']);
702
                break;
703
            case 18:
704
                $result = 20 + (4 * 4) + (8 + 8) * count($this->SHPData['points']);
705
                break;
@@ 703-705 (lines=3) @@
700
            case 28:
701
                $result = 20 + (2 * 4) + (8 + 4) * count($this->SHPData['points']);
702
                break;
703
            case 18:
704
                $result = 20 + (4 * 4) + (8 + 8) * count($this->SHPData['points']);
705
                break;
706
            default:
707
                $result = false;
708
                $this->setError(sprintf('The Shape Type "%s" is not supported.', $this->shapeType));