Code Duplication    Length = 3-3 lines in 2 locations

src/ShapeRecord.php 2 locations

@@ 484-486 (lines=3) @@
481
            }
482
            $min = $direction . 'min';
483
            $max = $direction . 'max';
484
            if (!isset($this->SHPData[$min]) || ($this->SHPData[$min] > $point[$direction])) {
485
                $this->SHPData[$min] = $point[$direction];
486
            }
487
            if (!isset($this->SHPData[$max]) || ($this->SHPData[$max] < $point[$direction])) {
488
                $this->SHPData[$max] = $point[$direction];
489
            }
@@ 487-489 (lines=3) @@
484
            if (!isset($this->SHPData[$min]) || ($this->SHPData[$min] > $point[$direction])) {
485
                $this->SHPData[$min] = $point[$direction];
486
            }
487
            if (!isset($this->SHPData[$max]) || ($this->SHPData[$max] < $point[$direction])) {
488
                $this->SHPData[$max] = $point[$direction];
489
            }
490
        }
491
    }
492