Add lang switch to menu tree #79
Annotations
10 errors
phpstan:
src/Filament/Form/Fields/Types/RouteMenuItemType.php#L19
Unsafe usage of new static().
|
phpstan:
src/Filament/Form/Fields/Types/LinkableMenuItemType.php#L80
Call to an undefined static method Statikbe\FilamentFlexibleContentBlockPages\Models\Contracts\HasMenuLabel::searchForMenuItems().
|
phpstan:
src/Filament/Form/Fields/Types/LinkableMenuItemType.php#L33
Unsafe usage of new static().
|
phpstan:
src/Filament/Form/Components/MenuTreeBuilder.php#L13
Property Statikbe\FilamentFlexibleContentBlockPages\Filament\Form\Components\MenuTreeBuilder::$view (view-string) does not accept default value of type string.
|
phpstan:
src/Components/MenuItem.php#L38
Parameter #1 $view of function view expects view-string|null, string given.
|
phpstan:
src/Components/Menu.php#L62
Call to an undefined static method Statikbe\FilamentFlexibleContentBlockPages\Models\Menu::getByCode().
|
phpstan:
src/Components/Menu.php#L55
Parameter #1 $view of function view expects view-string|null, string given.
|
phpstan:
src/Components/LanguageSwitch.php#L22
Parameter #1 $view of function view expects view-string|null, string given.
|
phpstan:
src/Components/BaseLayout.php#L11
Parameter #1 $view of function view expects view-string|null, string given.
|
phpstan:
src/Commands/SeedDefaultsCommand.php#L71
Call to an undefined method Illuminate\Database\Eloquent\Model::setTranslation().
|