Code Duplication    Length = 3-3 lines in 2 locations

src/ShapeRecord.php 2 locations

@@ 691-693 (lines=3) @@
688
            case 8:
689
                $result = 20 + 8 * count($this->SHPData['points']);
690
                break;
691
            case 28:
692
                $result = 20 + (2 * 4) + (8 + 4) * count($this->SHPData['points']);
693
                break;
694
            case 18:
695
                $result = 20 + (4 * 4) + (8 + 8) * count($this->SHPData['points']);
696
                break;
@@ 694-696 (lines=3) @@
691
            case 28:
692
                $result = 20 + (2 * 4) + (8 + 4) * count($this->SHPData['points']);
693
                break;
694
            case 18:
695
                $result = 20 + (4 * 4) + (8 + 8) * count($this->SHPData['points']);
696
                break;
697
            default:
698
                $result = false;
699
                $this->setError(sprintf('The Shape Type "%s" is not supported.', $this->shapeType));