| 1 | <?php |
||
| 8 | class InvalidIncludeQuery extends InvalidQuery |
||
| 9 | { |
||
| 10 | /** @var \Illuminate\Support\Collection */ |
||
| 11 | public $unknownIncludes; |
||
| 12 | |||
| 13 | /** @var \Illuminate\Support\Collection */ |
||
| 14 | public $allowedIncludes; |
||
| 15 | |||
| 16 | public function __construct(Collection $unknownIncludes, Collection $allowedIncludes) |
||
| 34 | |||
| 35 | public static function includesNotAllowed(Collection $unknownIncludes, Collection $allowedIncludes) |
||
| 39 | } |
||
| 40 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.