@@ -479,8 +479,8 @@ |
||
479 | 479 | if (!isset($point[$direction])) { |
480 | 480 | continue; |
481 | 481 | } |
482 | - $min = $direction . 'min'; |
|
483 | - $max = $direction . 'max'; |
|
482 | + $min = $direction.'min'; |
|
483 | + $max = $direction.'max'; |
|
484 | 484 | if (!isset($this->SHPData[$min]) || ($this->SHPData[$min] > $point[$direction])) { |
485 | 485 | $this->SHPData[$min] = $point[$direction]; |
486 | 486 | } |
@@ -147,6 +147,9 @@ |
||
147 | 147 | return (count($this->records) - 1); |
148 | 148 | } |
149 | 149 | |
150 | + /** |
|
151 | + * @param integer $index |
|
152 | + */ |
|
150 | 153 | public function deleteRecord($index) { |
151 | 154 | if (isset($this->records[$index])) { |
152 | 155 | $this->fileLength -= ($this->records[$index]->getContentLength() + 4); |