@@ -157,6 +157,9 @@ discard block |
||
157 | 157 | return (count($this->records) - 1); |
158 | 158 | } |
159 | 159 | |
160 | + /** |
|
161 | + * @param integer $index |
|
162 | + */ |
|
160 | 163 | public function deleteRecord($index) { |
161 | 164 | if (isset($this->records[$index])) { |
162 | 165 | $this->fileLength -= ($this->records[$index]->getContentLength() + 4); |
@@ -410,7 +413,8 @@ discard block |
||
410 | 413 | /** |
411 | 414 | * Reads given number of bytes from SHP file |
412 | 415 | * |
413 | - * @return string|false |
|
416 | + * @param integer $bytes |
|
417 | + * @return string |
|
414 | 418 | */ |
415 | 419 | public function readSHP($bytes) |
416 | 420 | { |