Completed
Push — master ( 8cdfe4...608be8 )
by Michal
03:29
created
src/ShapeFile.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -334,6 +334,9 @@
 block discarded – undo
334 334
       }
335 335
     }
336 336
 
337
+    /**
338
+     * @param string $error
339
+     */
337 340
     function setError($error) {
338 341
       $this->lastError = $error;
339 342
       return false;
Please login to merge, or discard this patch.
src/ShapeRecord.php 1 patch
Doc Comments   +18 added lines patch added patch discarded remove patch
@@ -42,6 +42,9 @@  discard block
 block discarded – undo
42 42
     var $SHPData = array();
43 43
     var $DBFData = array();
44 44
 
45
+    /**
46
+     * @param integer $shapeType
47
+     */
45 48
     public function __construct($shapeType) {
46 49
       $this->shapeType = $shapeType;
47 50
     }
@@ -275,6 +278,9 @@  discard block
 block discarded – undo
275 278
       }
276 279
     }
277 280
 
281
+    /**
282
+     * @param string $type
283
+     */
278 284
     function _loadMultiPointMZRecord( $type ) {
279 285
 
280 286
       $this->SHPData[$type."min"] = Util::loadData("d", fread($this->SHPFile, 8));
@@ -308,6 +314,9 @@  discard block
 block discarded – undo
308 314
       }
309 315
     }
310 316
 
317
+    /**
318
+     * @param string $type
319
+     */
311 320
     function _saveMultiPointMZRecord( $type ) {
312 321
 
313 322
       fwrite($this->SHPFile, pack("dd", $this->SHPData[$type."min"], $this->SHPData[$type."max"]));
@@ -361,6 +370,9 @@  discard block
 block discarded – undo
361 370
       fseek($this->SHPFile, $firstIndex + ($readPoints*16));
362 371
     }
363 372
 
373
+    /**
374
+     * @param string $type
375
+     */
364 376
     function _loadPolyLineMZRecord( $type ) {
365 377
 
366 378
       $this->SHPData[$type."min"] = Util::loadData("d", fread($this->SHPFile, 8));
@@ -409,6 +421,9 @@  discard block
 block discarded – undo
409 421
       }
410 422
     }
411 423
 
424
+    /**
425
+     * @param string $type
426
+     */
412 427
     function _savePolyLineMZRecord( $type ) {
413 428
       fwrite($this->SHPFile, pack("dd", $this->SHPData[$type."min"], $this->SHPData[$type."max"]));
414 429
 
@@ -641,6 +656,9 @@  discard block
 block discarded – undo
641 656
       }
642 657
     }
643 658
 
659
+    /**
660
+     * @param string $error
661
+     */
644 662
     function setError($error) {
645 663
       $this->lastError = $error;
646 664
       return false;
Please login to merge, or discard this patch.