Code Duplication    Length = 3-3 lines in 2 locations

src/ShapeRecord.php 2 locations

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