Passed
Pull Request — master (#135)
by Zing
05:16
created
src/Concerns/WithTypedFilter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,12 +16,12 @@
 block discarded – undo
16 16
      */
17 17
     public function enableTypedFilter(string $type, string $value, array $filters): self
18 18
     {
19
-        if (! $this->request->has($type)) {
19
+        if (!$this->request->has($type)) {
20 20
             return $this;
21 21
         }
22 22
         $property = $this->request->input($type);
23 23
         $filterValue = $this->request->input($value);
24
-       $filter= collect($filters)
24
+       $filter = collect($filters)
25 25
            ->filter(function ($filter)use ($property){
26 26
             $filter = $filter instanceof Filter ? $filter : Filter::exact($filter);
27 27
 
Please login to merge, or discard this patch.