@@ -25,7 +25,7 @@ |
||
| 25 | 25 | $wkt = geoPHP::load(json_decode(json_encode($value->jsonSerialize()), FALSE), 'json') |
| 26 | 26 | ->out('wkt'); |
| 27 | 27 | } catch (\Exception $e) { |
| 28 | - throw new SpatialParseException(\sprintf('Unable to parse geometry data for column %s.',$key), 0, $e); |
|
| 28 | + throw new SpatialParseException(\sprintf('Unable to parse geometry data for column %s.', $key), 0, $e); |
|
| 29 | 29 | } |
| 30 | 30 | |
| 31 | 31 | $value = $this->getQuery()->raw("ST_GeomFromText('{$wkt}')"); |
@@ -74,7 +74,7 @@ |
||
| 74 | 74 | */ |
| 75 | 75 | public function typeGeometry(Fluent $column) |
| 76 | 76 | { |
| 77 | - return parent::typeGeometry( $column); |
|
| 77 | + return parent::typeGeometry($column); |
|
| 78 | 78 | } |
| 79 | 79 | |
| 80 | 80 | /** |
@@ -18,7 +18,7 @@ |
||
| 18 | 18 | * @return \Illuminate\Database\Schema\Grammars\Grammar |
| 19 | 19 | */ |
| 20 | 20 | public static function make(string $name): Grammar { |
| 21 | - switch($name){ |
|
| 21 | + switch ($name) { |
|
| 22 | 22 | case 'mysql': |
| 23 | 23 | return new MySqlGrammar(); |
| 24 | 24 | break; |