Completed
Pull Request — master (#3)
by Michal
10:13 queued 06:52
created
src/ShapeFile.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -52,6 +52,9 @@  discard block
 block discarded – undo
52 52
 
53 53
     public $records;
54 54
 
55
+    /**
56
+     * @param integer $shapeType
57
+     */
55 58
     public function __construct($shapeType, $boundingBox = array("xmin" => 0.0, "ymin" => 0.0, "xmax" => 0.0, "ymax" => 0.0), $FileName = NULL) {
56 59
         $this->shapeType = $shapeType;
57 60
         $this->boundingBox = $boundingBox;
@@ -59,6 +62,9 @@  discard block
 block discarded – undo
59 62
         $this->fileLength = 50; // The value for file length is the total length of the file in 16-bit words (including the fifty 16-bit words that make up the header).
60 63
     }
61 64
 
65
+    /**
66
+     * @param string $FileName
67
+     */
62 68
     public function loadFromFile($FileName) {
63 69
         $this->FileName = $FileName;
64 70
 
@@ -351,6 +357,9 @@  discard block
 block discarded – undo
351 357
         }
352 358
     }
353 359
 
360
+    /**
361
+     * @param string $error
362
+     */
354 363
     public function setError($error) {
355 364
         $this->lastError = $error;
356 365
         return false;
Please login to merge, or discard this patch.