Skip to content

Make menu item icon field optional #133

Make menu item icon field optional

Make menu item icon field optional #133

Triggered via push July 31, 2025 21:35
Status Failure
Total duration 54s
Artifacts

phpstan.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors
phpstan: src/Form/Fields/Types/RouteMenuItemType.php#L37
Argument of an invalid type Illuminate\Routing\RouteCollectionInterface supplied for foreach, only iterables are supported.
phpstan: src/Form/Fields/Types/RouteMenuItemType.php#L14
Unsafe usage of new static().
phpstan: src/Form/Fields/Types/LinkableMenuItemType.php#L59
Call to an undefined static method Statikbe\FilamentFlexibleContentBlockPages\Models\Contracts\HasMenuLabel::searchForMenuItems().
phpstan: src/Form/Fields/Types/LinkableMenuItemType.php#L23
Unsafe usage of new static().
phpstan: src/FilamentFlexibleContentBlockPagesServiceProvider.php#L53
Class Statikbe\FilamentFlexibleContentBlockPages\Livewire\MenuTreeItem not found.
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/Commands/SeedDefaultsCommand.php#L71
Call to an undefined method Illuminate\Database\Eloquent\Model::setTranslation().