Passed
Push — master ( 5aab3e...f0aa79 )
by Jonas
10:43
created
src/Eloquent/Builder.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -46,9 +46,9 @@
 block discarded – undo
46 46
      */
47 47
     public function eagerLoadRelations(array $models)
48 48
     {
49
-        collect($models)->groupBy(function ($model) {
49
+        collect($models)->groupBy(function($model) {
50 50
             return get_class($model);
51
-        })->each(function ($models) {
51
+        })->each(function($models) {
52 52
             $model = $models[0];
53 53
 
54 54
             $relations = array_merge(
Please login to merge, or discard this patch.
src/DatabaseServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
      */
15 15
     public function register()
16 16
     {
17
-        $this->app->bind('db.schema', function ($app) {
17
+        $this->app->bind('db.schema', function($app) {
18 18
             return Schema::getSchemaBuilder(
19 19
                 $app['db']->connection()
20 20
             );
Please login to merge, or discard this patch.
src/Eloquent/Relations/MergedRelation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
      */
15 15
     public function getResults()
16 16
     {
17
-        $results = ! is_null($this->getParentKey())
17
+        $results = !is_null($this->getParentKey())
18 18
             ? $this->get()
19 19
             : $this->related->newCollection();
20 20
 
Please login to merge, or discard this patch.
src/Schema/Builders/CreatesMergeViews.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@
 block discarded – undo
80 80
             $foreignKey = $this->getOriginalForeignKey($relation);
81 81
 
82 82
             $relation->getQuery()->getQuery()->wheres = collect($relation->getQuery()->getQuery()->wheres)
83
-                ->reject(function ($where) use ($foreignKey) {
83
+                ->reject(function($where) use ($foreignKey) {
84 84
                     return $where['column'] === $foreignKey;
85 85
                 })->values()->all();
86 86
         }
Please login to merge, or discard this patch.
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -216,12 +216,12 @@
 block discarded – undo
216 216
     {
217 217
         if ($relation instanceof BelongsTo) {
218 218
             $relation->getQuery()->distinct()
219
-                          ->join(
220
-                              $relation->getParent()->getTable(),
221
-                              $relation->getQualifiedForeignKeyName(),
222
-                              '=',
223
-                              $relation->getQualifiedOwnerKeyName()
224
-                          );
219
+                            ->join(
220
+                                $relation->getParent()->getTable(),
221
+                                $relation->getQualifiedForeignKeyName(),
222
+                                '=',
223
+                                $relation->getQualifiedOwnerKeyName()
224
+                            );
225 225
         }
226 226
     }
227 227
 }
Please login to merge, or discard this patch.