@@ -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 |
@@ -138,7 +138,7 @@ |
||
138 | 138 | 512, |
139 | 139 | JSON_THROW_ON_ERROR |
140 | 140 | ); |
141 | - $wkt = geoPHP::load($decoded, 'json')->out('wkt'); |
|
141 | + $wkt = geoPHP::load($decoded, 'json')->out('wkt'); |
|
142 | 142 | } catch (Exception $e) { |
143 | 143 | throw new SpatialParseException('Unable to data to geometry.', 0, $e); |
144 | 144 | } |