Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php declare(strict_types = 1); |
||
32 | public function fields(): Fields |
||
33 | { |
||
34 | return new Fields([ |
||
35 | SelectField::make('parent_page') |
||
36 | ->options(UrlHelper::allModelsExcept($this->manager->modelInstance())) |
||
37 | ->selected(app(Breadcrumbs::class)->getParentForPage($this->manager->modelInstance())) |
||
38 | ->grouped() |
||
39 | ->label('De pagina waar deze pagina onder hoort.'), |
||
40 | ]); |
||
58 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.