@@ -17,7 +17,7 @@ discard block |
||
| 17 | 17 | |
| 18 | 18 | public function apply($model, Repository $repository) |
| 19 | 19 | { |
| 20 | - $query = $model->where(function ($query) use ($repository) { |
|
| 20 | + $query = $model->where(function($query) use ($repository) { |
|
| 21 | 21 | $firstColumn = array_shift($this->columns); |
| 22 | 22 | |
| 23 | 23 | if (strpos($firstColumn, '.')) { |
@@ -55,7 +55,7 @@ discard block |
||
| 55 | 55 | |
| 56 | 56 | private function getRelationClosure(array $relations) |
| 57 | 57 | { |
| 58 | - return function ($query) use ($relations) { |
|
| 58 | + return function($query) use ($relations) { |
|
| 59 | 59 | $relation = array_shift($relations); |
| 60 | 60 | |
| 61 | 61 | if (count($relations) > 0) { |