Test Failed
Push — master ( 497d03...851fa4 )
by Swen
04:50
created
src/Adapter/KML.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -112,8 +112,7 @@
 block discarded – undo
112 112
         
113 113
         // The document does not have a placemark, try to create a valid geometry from the root element
114 114
         $nodeName = $this->xmlObject->documentElement->nodeName === 'multigeometry' ?
115
-                'geometrycollection' :
116
-                $this->xmlObject->documentElement->nodeName;
115
+                'geometrycollection' : $this->xmlObject->documentElement->nodeName;
117 116
 
118 117
         if (array_key_exists($nodeName, geoPHP::getGeometryList())) {
119 118
             $function = 'parse' . geoPHP::getGeometryList()[$nodeName];
Please login to merge, or discard this patch.
src/geoPHP.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -365,7 +365,7 @@
 block discarded – undo
365 365
         }
366 366
 
367 367
         // First char is a tab, space or carriage-return. trim it and try again
368
-        if (in_array($bytes[1], [9,10,32], true)) {
368
+        if (in_array($bytes[1], [9, 10, 32], true)) {
369 369
             $input = ltrim($input);
370 370
             return geoPHP::detectFormat($input);
371 371
         }
Please login to merge, or discard this patch.