Test Failed
Push — master ( 1e8ed2...bce275 )
by
unknown
13:27
created
src/GIS.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -229,7 +229,7 @@
 block discarded – undo
229 229
 
230 230
     protected static function reproject_array($coordinates, $fromProj, $toProj)
231 231
     {
232
-        return self::each($coordinates, function ($coordinate) use ($fromProj, $toProj) {
232
+        return self::each($coordinates, function($coordinate) use ($fromProj, $toProj) {
233 233
             return array_slice(self::$proj4->transform($toProj, new Point($coordinate[0], $coordinate[1], $fromProj))->toArray(), 0, 2);
234 234
         });
235 235
     }
Please login to merge, or discard this patch.
src/ORM/SQLite3GISSchemaManager.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,9 @@
 block discarded – undo
6 6
 use SilverStripe\ORM\DB;
7 7
 use Smindel\GIS\GIS;
8 8
 
9
-if (!class_exists(SQLite3SchemaManager::class)) return;
9
+if (!class_exists(SQLite3SchemaManager::class)) {
10
+    return;
11
+}
10 12
 
11 13
 class SQLite3GISSchemaManager extends SQLite3SchemaManager
12 14
 {
Please login to merge, or discard this patch.