Code Duplication    Length = 3-3 lines in 2 locations

src/ShapeRecord.php 2 locations

@@ 273-275 (lines=3) @@
270
271
      $this->SHPData["numpoints"] = Util::loadData("V", fread($this->SHPFile, 4));
272
273
      for ($i = 0; $i <= $this->SHPData["numpoints"]; $i++) {
274
        $this->SHPData["points"][] = $this->_loadPoint();
275
      }
276
    }
277
278
    function _loadMultiPointMZRecord( $type ) {
@@ 306-308 (lines=3) @@
303
304
      fwrite($this->SHPFile, pack("V", $this->SHPData["numpoints"]));
305
306
      for ($i = 0; $i <= $this->SHPData["numpoints"]; $i++) {
307
        $this->_savePoint($this->SHPData["points"][$i]);
308
      }
309
    }
310
311
    function _saveMultiPointMZRecord( $type ) {