Completed
Push — master ( 8b8777...997b9a )
by Adrian
04:57
created
src/Repository/Criteria/SearchCriteria.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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) {
Please login to merge, or discard this patch.