@@ -104,7 +104,7 @@ |
||
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 | }) |