Passed
Pull Request — master (#135)
by Zing
05:16
created
src/Concerns/WithTypedFilter.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -21,8 +21,8 @@  discard block
 block discarded – undo
21 21
         }
22 22
         $property = $this->request->input($type);
23 23
         $filterValue = $this->request->input($value);
24
-       $filter= collect($filters)
25
-           ->filter(function ($filter)use ($property){
24
+        $filter= collect($filters)
25
+            ->filter(function ($filter)use ($property){
26 26
             $filter = $filter instanceof Filter ? $filter : Filter::exact($filter);
27 27
 
28 28
             if ($filter->getDefault() !== null) {
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
 
32 32
             return $filter->isForProperty($property);
33 33
         })
34
-           ->first();
34
+            ->first();
35 35
         $filter->filter($this->builder, $filterValue);
36 36
 
37 37
         return $this;
Please login to merge, or discard this patch.