Passed
Push — master ( 6a5fcf...9a324d )
by Anton
02:49
created
src/Reactable/ReactableEloquentBuilderTrait.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
     ): Builder {
83 83
         $reactionType = ReactionType::fromName($reactionTypeName);
84 84
         $alias = $alias === null
85
-            ? 'reaction_' . Str::snake($reactionType->getName())
85
+            ? 'reaction_'.Str::snake($reactionType->getName())
86 86
             : $alias;
87 87
 
88 88
         $select = $this->getQuery()->columns ?? ["{$this->getModel()->getTable()}.*"];
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
 
92 92
         return $this
93 93
             ->leftJoin(
94
-                (new ReactionCounter())->getTable() . ' as ' . $alias,
94
+                (new ReactionCounter())->getTable().' as '.$alias,
95 95
                 function (JoinClause $join) use (
96 96
                     $reactionType,
97 97
                     $alias,
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
 
124 124
         return $this
125 125
             ->leftJoin(
126
-                (new ReactionTotal())->getTable() . ' as ' . $alias,
126
+                (new ReactionTotal())->getTable().' as '.$alias,
127 127
                 "{$alias}.reactant_id",
128 128
                 '=',
129 129
                 "{$this->getModel()->getTable()}.love_reactant_id",
Please login to merge, or discard this patch.
src/Reacterable/ReacterableEloquentBuilderTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@
 block discarded – undo
94 94
                 );
95 95
 
96 96
                 $reactionsQuery->whereBetween(
97
-                    (new Reaction())->getTable() . '.created_at',
97
+                    (new Reaction())->getTable().'.created_at',
98 98
                     [$reactedAtFrom, $reactedAtTo],
99 99
                 );
100 100
 
Please login to merge, or discard this patch.