@@ -32,14 +32,14 @@  | 
                                                    ||
| 32 | 32 | // The connection factory is used to create the actual connection instances on  | 
                                                        
| 33 | 33 | // the database. We will inject the factory into the manager so that it may  | 
                                                        
| 34 | 34 | // make the connections while they are actually needed and not of before.  | 
                                                        
| 35 | -        $this->app->singleton('db.factory', function ($app) { | 
                                                        |
| 35 | +        $this->app->singleton('db.factory', function($app) { | 
                                                        |
| 36 | 36 | return new ConnectionFactory($app);  | 
                                                        
| 37 | 37 | });  | 
                                                        
| 38 | 38 | |
| 39 | 39 | // The database manager is used to resolve various connections, since multiple  | 
                                                        
| 40 | 40 | // connections might be managed. It also implements the connection resolver  | 
                                                        
| 41 | 41 | // interface which may be used by other components requiring connections.  | 
                                                        
| 42 | -        $this->app->singleton('db', function ($app) { | 
                                                        |
| 42 | +        $this->app->singleton('db', function($app) { | 
                                                        |
| 43 | 43 | return new DatabaseManager($app, $app['db.factory']);  | 
                                                        
| 44 | 44 | });  | 
                                                        
| 45 | 45 | |
@@ -23,7 +23,7 @@  | 
                                                    ||
| 23 | 23 |              if ($value instanceof Geometry) { | 
                                                        
| 24 | 24 |                  try { | 
                                                        
| 25 | 25 | $wkt = geoPHP::load(json_decode(json_encode($value->jsonSerialize()), false), 'json')  | 
                                                        
| 26 | -                                 ->out('wkt'); | 
                                                        |
| 26 | +                                    ->out('wkt'); | 
                                                        |
| 27 | 27 |                  } catch (\Exception $e) { | 
                                                        
| 28 | 28 | throw new SpatialParseException(  | 
                                                        
| 29 | 29 |                          \sprintf('Unable to parse geometry data for column %s.', $key), |