@@ -16,12 +16,12 @@ |
||
| 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 | |