Passed
Push — master ( dd7d26...914783 )
by Michal
03:38
created
src/ShapeRecord.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -44,6 +44,9 @@
 block discarded – undo
44 44
         $this->shapeType = $shapeType;
45 45
     }
46 46
 
47
+    /**
48
+     * @param ShapeFile $ShapeFile
49
+     */
47 50
     public function loadFromFile(&$ShapeFile, &$SHPFile, &$DBFFile) {
48 51
         $this->ShapeFile = $ShapeFile;
49 52
         $this->SHPFile = $SHPFile;
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -304,7 +304,7 @@  discard block
 block discarded – undo
304 304
     private function _loadMultiPointMZRecord($type)
305 305
     {
306 306
         /* The m dimension is optional, depends on bounding box data */
307
-        if ($type == 'm' && ! $this->ShapeFile->hasMeasure()) {
307
+        if ($type == 'm' && !$this->ShapeFile->hasMeasure()) {
308 308
             return;
309 309
         }
310 310
 
@@ -395,7 +395,7 @@  discard block
 block discarded – undo
395 395
      */
396 396
     private function _loadPolyLineMZRecord($type) {
397 397
         /* The m dimension is optional, depends on bounding box data */
398
-        if ($type == 'm' && ! $this->ShapeFile->hasMeasure()) {
398
+        if ($type == 'm' && !$this->ShapeFile->hasMeasure()) {
399 399
             return;
400 400
         }
401 401
 
Please login to merge, or discard this patch.
src/ShapeFile.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -522,7 +522,7 @@
 block discarded – undo
522 522
      */
523 523
     public function hasMeasure()
524 524
     {
525
-         return $this->boundingBox['mmin'] != 0 || $this->boundingBox['mmax'] != 0;
525
+            return $this->boundingBox['mmin'] != 0 || $this->boundingBox['mmax'] != 0;
526 526
     }
527 527
 }
528 528
 
Please login to merge, or discard this patch.