Code Duplication    Length = 3-3 lines in 2 locations

src/ShapeRecord.php 2 locations

@@ 289-291 (lines=3) @@
286
        $this->SHPData[$type.'min'] = Util::loadData('d', $this->ShapeFile->readSHP(8));
287
        $this->SHPData[$type.'max'] = Util::loadData('d', $this->ShapeFile->readSHP(8));
288
289
        for ($i = 0; $i <= $this->SHPData['numpoints']; $i++) {
290
            $this->SHPData['points'][$i][$type] = Util::loadData('d', $this->ShapeFile->readSHP(8));
291
        }
292
    }
293
294
    private function _loadMultiPointMRecord() {
@@ 352-354 (lines=3) @@
349
        $this->SHPData['numparts']  = Util::loadData('V', $this->ShapeFile->readSHP(4));
350
        $this->SHPData['numpoints'] = Util::loadData('V', $this->ShapeFile->readSHP(4));
351
352
        for ($i = 0; $i < $this->SHPData['numparts']; $i++) {
353
            $this->SHPData['parts'][$i] = Util::loadData('V', $this->ShapeFile->readSHP(4));
354
        }
355
356
        $firstIndex = ftell($this->SHPFile);
357
        $readPoints = 0;