1 | <?php |
||
8 | class InvalidIncludeQuery extends InvalidQuery |
||
9 | { |
||
10 | /** @var \Illuminate\Support\Collection*/ |
||
11 | private $unknownIncludes; |
||
12 | |||
13 | /** @var \Illuminate\Support\Collection */ |
||
14 | private $allowedIncludes; |
||
15 | |||
16 | public function __construct(Collection $unknownIncludes, Collection $allowedIncludes) |
||
27 | |||
28 | public static function includesNotAllowed(Collection $unknownIncludes, Collection $allowedIncludes) |
||
32 | |||
33 | public function getUnknownIncludes(): Collection |
||
37 | |||
38 | public function getAllowedIncludes(): 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.