Code Duplication    Length = 3-3 lines in 2 locations

src/ShapeFile.lib.php 2 locations

@@ 625-627 (lines=3) @@
622
      $this->SHPData[$type."min"] = loadData("d", fread($this->SHPFile, 8));
623
      $this->SHPData[$type."max"] = loadData("d", fread($this->SHPFile, 8));
624
625
      for ($i = 0; $i <= $this->SHPData["numpoints"]; $i++) {
626
        $this->SHPData["points"][$i][$type] = loadData("d", fread($this->SHPFile, 8));
627
      }
628
    }
629
630
    function _loadMultiPointMRecord() {
@@ 657-659 (lines=3) @@
654
655
      fwrite($this->SHPFile, pack("dd", $this->SHPData[$type."min"], $this->SHPData[$type."max"]));
656
657
      for ($i = 0; $i <= $this->SHPData["numpoints"]; $i++) {
658
        fwrite($this->SHPFile, packDouble($this->SHPData["points"][$type]));
659
      }
660
    }
661
662
    function _saveMultiPointMRecord() {