Completed
Push — 5.1 ( c7eca6...1f8916 )
by Jarek
05:49
created
src/Mappable.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -215,7 +215,7 @@  discard block
 block discarded – undo
215 215
     protected function mappedSelectListsKey(Builder $query, $key)
216 216
     {
217 217
         if ($this->hasColumn($key)) {
218
-            return $query->addSelect($this->getTable() . '.' . $key);
218
+            return $query->addSelect($this->getTable().'.'.$key);
219 219
         }
220 220
 
221 221
         return $query->addSelect($key);
@@ -261,7 +261,7 @@  discard block
 block discarded – undo
261 261
         if (!$this->alreadyJoined($query, $table)) {
262 262
             list($fk, $pk) = $this->getJoinKeys($relation);
263 263
 
264
-            $query->leftJoin($table, function ($join) use ($fk, $pk, $relation, $parent, $related) {
264
+            $query->leftJoin($table, function($join) use ($fk, $pk, $relation, $parent, $related) {
265 265
                 $join->on($fk, '=', $pk);
266 266
 
267 267
                 if ($relation instanceof MorphOne || $relation instanceof MorphTo) {
@@ -361,7 +361,7 @@  discard block
 block discarded – undo
361 361
      */
362 362
     protected function getMappedWhereConstraint($method, ArgumentBag $args)
363 363
     {
364
-        return function ($query) use ($method, $args) {
364
+        return function($query) use ($method, $args) {
365 365
             call_user_func_array([$query, $method], $args->all());
366 366
         };
367 367
     }
Please login to merge, or discard this patch.