| 1 | <?php |
||
| 7 | class Grammar extends BaseGrammar |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * The components that make up a select clause. |
||
| 11 | * |
||
| 12 | * @var array |
||
| 13 | */ |
||
| 14 | protected $selectComponents = [ |
||
| 15 | 'aggregate', |
||
| 16 | 'columns', |
||
| 17 | 'from', |
||
| 18 | 'wheres', |
||
| 19 | 'orders', |
||
| 20 | 'limit', |
||
| 21 | 'groups', |
||
| 22 | 'allowFiltering' |
||
| 23 | ]; |
||
| 24 | |||
| 25 | 19 | public function compileAllowFiltering(Builder $query, $bool) |
|
| 29 | } |
||
| 30 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.