Passed
Push — master ( 8e7927...1e6c76 )
by Hennik
11:16
created
src/SpatialServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -32,14 +32,14 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Eloquent/Builder.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
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),
Please login to merge, or discard this patch.