@@ -189,6 +189,9 @@ discard block |
||
189 | 189 | return (count($this->records) - 1); |
190 | 190 | } |
191 | 191 | |
192 | + /** |
|
193 | + * @param integer $index |
|
194 | + */ |
|
192 | 195 | public function deleteRecord($index) { |
193 | 196 | if (isset($this->records[$index])) { |
194 | 197 | $this->fileLength -= ($this->records[$index]->getContentLength() + 4); |
@@ -455,7 +458,8 @@ discard block |
||
455 | 458 | /** |
456 | 459 | * Reads given number of bytes from SHP file |
457 | 460 | * |
458 | - * @return string|false |
|
461 | + * @param integer $bytes |
|
462 | + * @return string |
|
459 | 463 | */ |
460 | 464 | public function readSHP($bytes) |
461 | 465 | { |
@@ -482,6 +486,9 @@ discard block |
||
482 | 486 | return ShapeFile::nameShape($this->shapeType); |
483 | 487 | } |
484 | 488 | |
489 | + /** |
|
490 | + * @param integer $type |
|
491 | + */ |
|
485 | 492 | public static function nameShape($type) |
486 | 493 | { |
487 | 494 | if (isset(self::$shape_names[$type])) { |