Passed
Pull Request — master (#159)
by
unknown
04:58
created
src/Reactable/Models/Traits/Reactable.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -104,7 +104,7 @@
 block discarded – undo
104 104
         $select[] = DB::raw("COALESCE({$alias}.weight, 0) as {$alias}_weight");
105 105
 
106 106
         return $query
107
-            ->leftJoin((new ReactionCounter())->getTable() . ' as '. $alias, function (JoinClause $join) use ($reactionType, $alias) {
107
+            ->leftJoin((new ReactionCounter())->getTable() . ' as ' . $alias, function (JoinClause $join) use ($reactionType, $alias) {
108 108
                 $join->on("{$alias}.reactant_id", '=', "{$this->getTable()}.love_reactant_id");
109 109
                 $join->where("{$alias}.reaction_type_id", $reactionType->getId());
110 110
             })
Please login to merge, or discard this patch.
src/Console/Commands/UpgradeV5ToV8.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -306,7 +306,7 @@
 block discarded – undo
306 306
             ->from('love_likes')
307 307
             ->groupBy('type_id')
308 308
             ->get()
309
-            ->pluck('type_id')->map(function($type) {
309
+            ->pluck('type_id')->map(function ($type) {
310 310
                 return ucfirst(strtolower($type));
311 311
             });
312 312
         return $types;
Please login to merge, or discard this patch.