1 | <?php |
||
8 | class InvalidSortQuery extends InvalidQuery |
||
9 | { |
||
10 | /** @var string */ |
||
11 | public $unknownSort; |
||
12 | |||
13 | /** @var \Illuminate\Support\Collection */ |
||
14 | public $allowedSorts; |
||
15 | |||
16 | public function __construct(string $unknownSort, Collection $allowedSorts) |
||
26 | |||
27 | public static function sortsNotAllowed(string $unknownSort, Collection $allowedSorts) |
||
31 | } |
||
32 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.