1 | <?php |
||
8 | class InvalidFilterQuery extends InvalidQuery |
||
9 | { |
||
10 | /** @var \Illuminate\Support\Collection */ |
||
11 | private $unknownFilters; |
||
12 | |||
13 | /** @var \Illuminate\Support\Collection */ |
||
14 | private $allowedFilters; |
||
15 | |||
16 | public function __construct(Collection $unknownFilters, Collection $allowedFilters) |
||
27 | |||
28 | public static function filtersNotAllowed(Collection $unknownFilters, Collection $allowedFilters) |
||
32 | |||
33 | public function getUnknownFilters(): Collection |
||
37 | |||
38 | public function getAllowedFilters(): Collection |
||
42 | } |
||
43 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.