Code Duplication    Length = 3-3 lines in 2 locations

src/ShapeFile.lib.php 2 locations

@@ 615-617 (lines=3) @@
612
613
      $this->SHPData["numpoints"] = loadData("V", fread($this->SHPFile, 4));
614
615
      for ($i = 0; $i <= $this->SHPData["numpoints"]; $i++) {
616
        $this->SHPData["points"][] = $this->_loadPoint();
617
      }
618
    }
619
620
    function _loadMultiPointMZRecord( $type ) {
@@ 648-650 (lines=3) @@
645
646
      fwrite($this->SHPFile, pack("V", $this->SHPData["numpoints"]));
647
648
      for ($i = 0; $i <= $this->SHPData["numpoints"]; $i++) {
649
        $this->_savePoint($this->SHPData["points"][$i]);
650
      }
651
    }
652
653
    function _saveMultiPointMZRecord( $type ) {