Completed
Push — master ( da05ee...8eba11 )
by Michal
07:43 queued 03:31
created
src/ShapeRecord.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -479,8 +479,8 @@
 block discarded – undo
479 479
             if (!isset($point[$direction])) {
480 480
                 continue;
481 481
             }
482
-            $min = $direction . 'min';
483
-            $max = $direction . 'max';
482
+            $min = $direction.'min';
483
+            $max = $direction.'max';
484 484
             if (!isset($this->SHPData[$min]) || ($this->SHPData[$min] > $point[$direction])) {
485 485
                 $this->SHPData[$min] = $point[$direction];
486 486
             }
Please login to merge, or discard this patch.
src/ShapeFile.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -147,6 +147,9 @@
 block discarded – undo
147 147
         return (count($this->records) - 1);
148 148
     }
149 149
 
150
+    /**
151
+     * @param integer $index
152
+     */
150 153
     public function deleteRecord($index) {
151 154
         if (isset($this->records[$index])) {
152 155
             $this->fileLength -= ($this->records[$index]->getContentLength() + 4);
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@
 block discarded – undo
73 73
      * @param string|null $FileName Name of file to open
74 74
      */
75 75
     public function saveToFile($FileName = null) {
76
-        if (! is_null($FileName)) {
76
+        if (!is_null($FileName)) {
77 77
             $this->FileName = $FileName;
78 78
         }
79 79
 
Please login to merge, or discard this patch.