@@ -48,7 +48,7 @@ class ShapeFile {
4848 /**
4949 * Checks whether dbase manipuations are supported.
5050 *
51- * @return bool
51+ * @return boolean
5252 */
5353 public static function supports_dbase ()
5454 {
@@ -157,7 +157,7 @@ private function updateBBox($type, $data)
157157 *
158158 * @param ShapeRecord $record
159159 *
160- * @return int Number of added record
160+ * @return integer Number of added record
161161 */
162162 public function addRecord ($ record ) {
163163 if ((isset ($ this ->DBFHeader )) && (is_array ($ this ->DBFHeader ))) {
@@ -392,7 +392,7 @@ private function _saveHeaders() {
392392 /**
393393 * Loads records from SHP file (and DBF)
394394 *
395- * @return void
395+ * @return boolean
396396 */
397397 private function _loadRecords () {
398398 /* Need to start at offset 100 */
@@ -435,11 +435,11 @@ private function _saveRecords() {
435435 /**
436436 * Generic interface to open files
437437 *
438- * @param bool $toWrite Whether file should be opened for writing
439- * @param string $extension File extension
438+ * @param boolean $toWrite Whether file should be opened for writing
439+ * @param string $extension File extension
440440 * @param string $name Verbose file name to report errors
441441 *
442- * @return file File handle
442+ * @return file|false File handle
443443 */
444444 private function _openFile ($ toWrite , $ extension , $ name ) {
445445 $ shp_name = $ this ->_getFilename ($ extension );
@@ -455,9 +455,9 @@ private function _openFile($toWrite, $extension, $name) {
455455 /**
456456 * Opens SHP file
457457 *
458- * @param bool $toWrite Whether file should be opened for writing
458+ * @param boolean $toWrite Whether file should be opened for writing
459459 *
460- * @return bool
460+ * @return boolean
461461 */
462462 private function _openSHPFile ($ toWrite = false ) {
463463 $ this ->SHPFile = $ this ->_openFile ($ toWrite , '.shp ' , 'Shape ' );
@@ -482,9 +482,9 @@ private function _closeSHPFile() {
482482 /**
483483 * Opens SHX file
484484 *
485- * @param bool $toWrite Whether file should be opened for writing
485+ * @param boolean $toWrite Whether file should be opened for writing
486486 *
487- * @return bool
487+ * @return boolean
488488 */
489489 private function _openSHXFile ($ toWrite = false ) {
490490 $ this ->SHXFile = $ this ->_openFile ($ toWrite , '.shx ' , 'Index ' );
@@ -509,7 +509,7 @@ private function _closeSHXFile() {
509509 /**
510510 * Creates DBF file
511511 *
512- * @return bool
512+ * @return boolean
513513 */
514514 private function _createDBFFile ()
515515 {
@@ -537,7 +537,7 @@ private function _createDBFFile()
537537 /**
538538 * Loads DBF file if supported
539539 *
540- * @return bool
540+ * @return boolean
541541 */
542542 private function _openDBFFile () {
543543 if (!ShapeFile::supports_dbase ()) {
@@ -596,7 +596,7 @@ public function readSHP($bytes)
596596 /**
597597 * Checks whether file is at EOF
598598 *
599- * @return bool
599+ * @return boolean
600600 */
601601 public function eofSHP ()
602602 {
@@ -619,7 +619,7 @@ public function getShapeName()
619619 * For some reason this is distinguished by zero bouding box in the
620620 * specification.
621621 *
622- * @return bool
622+ * @return boolean
623623 */
624624 public function hasMeasure ()
625625 {
0 commit comments