Code Duplication    Length = 3-3 lines in 2 locations

src/ShapeRecord.php 2 locations

@@ 650-652 (lines=3) @@
647
            case 8:
648
                $result = 20 + 8 * count($this->SHPData['points']);
649
                break;
650
            case 28:
651
                $result = 20 + (2 * 4) + (8 + 4) * count($this->SHPData['points']);
652
                break;
653
            case 18:
654
                $result = 20 + (4 * 4) + (8 + 8) * count($this->SHPData['points']);
655
                break;
@@ 653-655 (lines=3) @@
650
            case 28:
651
                $result = 20 + (2 * 4) + (8 + 4) * count($this->SHPData['points']);
652
                break;
653
            case 18:
654
                $result = 20 + (4 * 4) + (8 + 8) * count($this->SHPData['points']);
655
                break;
656
            default:
657
                $result = false;
658
                $this->setError(sprintf('The Shape Type "%s" is not supported.', $this->shapeType));