@@ -215,7 +215,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 | } |