Code Duplication    Length = 3-3 lines in 2 locations

src/ShapeRecord.php 2 locations

@@ 612-614 (lines=3) @@
609
        case 8:
610
          $result = 20 + 8*count($this->SHPData["points"]);
611
        break;
612
        case 28:
613
          $result = 20 + (2*4) + (8+4)*count($this->SHPData["points"]);
614
        break;
615
        case 18:
616
          $result = 20 + (4*4) + (8+8)*count($this->SHPData["points"]);
617
        break;
@@ 615-617 (lines=3) @@
612
        case 28:
613
          $result = 20 + (2*4) + (8+4)*count($this->SHPData["points"]);
614
        break;
615
        case 18:
616
          $result = 20 + (4*4) + (8+8)*count($this->SHPData["points"]);
617
        break;
618
        default:
619
          $result = false;
620
          $this->setError(sprintf("The Shape Type '%s' is not supported.", $this->shapeType));