Passed
Push — master ( dd9083...a468b8 )
by Andreas
07:10
created
src/Model/Raster.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -118,7 +118,7 @@
 block discarded – undo
118 118
             $this->tableName,
119 119
             $this->rasterColumn,
120 120
             $band,
121
-            $split[0],$split[1]
121
+            $split[0], $split[1]
122 122
         );
123 123
 
124 124
         return DB::query($sql)->value();
Please login to merge, or discard this patch.
src/GIS.php 1 patch
Braces   +6 added lines, -2 removed lines patch added patch discarded remove patch
@@ -44,9 +44,13 @@
 block discarded – undo
44 44
 
45 45
     public static function to_ewkt($array)
46 46
     {
47
-        if (is_string($array)) return $array;
47
+        if (is_string($array)) {
48
+            return $array;
49
+        }
48 50
 
49
-        if ($array instanceof DBGeography) $array = $array->getValue();
51
+        if ($array instanceof DBGeography) {
52
+            $array = $array->getValue();
53
+        }
50 54
 
51 55
         $type = isset($array['type']) ? strtoupper($array['type']) : null;
52 56
         $srid = isset($array['srid']) ? $array['srid'] : Config::inst()->get(self::class, 'default_srid');
Please login to merge, or discard this patch.