Code Duplication    Length = 3-3 lines in 2 locations

src/ShapeRecord.php 2 locations

@@ 792-794 (lines=3) @@
789
            case 8:
790
                $result = 20 + 8 * count($this->SHPData['points']);
791
                break;
792
            case 28:
793
                $result = 20 + (2 * 4) + (8 + 4) * count($this->SHPData['points']);
794
                break;
795
            case 18:
796
                $result = 20 + (4 * 4) + (8 + 8) * count($this->SHPData['points']);
797
                break;
@@ 795-797 (lines=3) @@
792
            case 28:
793
                $result = 20 + (2 * 4) + (8 + 4) * count($this->SHPData['points']);
794
                break;
795
            case 18:
796
                $result = 20 + (4 * 4) + (8 + 8) * count($this->SHPData['points']);
797
                break;
798
            default:
799
                $result = false;
800
                $this->setError(sprintf('The Shape Type "%s" is not supported.', $this->shapeType));