Passed
Push — v0.1 ( 3df3e6...c4cb79 )
by Hennik
03:52
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.
src/Schema/Blueprint.php 1 patch
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -10,18 +10,18 @@
 block discarded – undo
10 10
  */
11 11
 class Blueprint extends BaseBlueprint
12 12
 {
13
-	/**
14
-	 * Add a point column on the table
15
-	 *
16
-	 * @param string $column
17
-	 * @param string $srid
18
-	 *
19
-	 * @return \Illuminate\Support\Fluent
20
-	 */
21
-	public function point($column, $srid = null)
22
-	{
23
-		return $this->addColumn('point', $column, ['srid' => $srid]);
24
-	}
13
+    /**
14
+     * Add a point column on the table
15
+     *
16
+     * @param string $column
17
+     * @param string $srid
18
+     *
19
+     * @return \Illuminate\Support\Fluent
20
+     */
21
+    public function point($column, $srid = null)
22
+    {
23
+        return $this->addColumn('point', $column, ['srid' => $srid]);
24
+    }
25 25
 
26 26
     /**
27 27
      * Enable postgis on this database.
Please login to merge, or discard this patch.