Code Duplication    Length = 3-3 lines in 2 locations

src/ShapeRecord.php 2 locations

@@ 255-257 (lines=3) @@
252
253
        $this->SHPData['numpoints'] = Util::loadData('V', fread($this->SHPFile, 4));
254
255
        for ($i = 0; $i <= $this->SHPData['numpoints']; $i++) {
256
            $this->SHPData['points'][] = $this->_loadPoint();
257
        }
258
    }
259
260
    /**
@@ 291-293 (lines=3) @@
288
289
        fwrite($this->SHPFile, pack('V', $this->SHPData['numpoints']));
290
291
        for ($i = 0; $i <= $this->SHPData['numpoints']; $i++) {
292
            $this->_savePoint($this->SHPData['points'][$i]);
293
        }
294
    }
295
296
    /**