mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-22 23:53:50 +00:00
DX: apply rector rules up to php8.0
This commit is contained in:
@@ -31,22 +31,10 @@ class MenuComposer
|
||||
{
|
||||
private array $localMenuBuilders = [];
|
||||
|
||||
private FactoryInterface $menuFactory;
|
||||
|
||||
private RouteCollection $routeCollection;
|
||||
|
||||
private RouterInterface $router;
|
||||
|
||||
private TranslatorInterface $translator;
|
||||
|
||||
public function __construct(
|
||||
RouterInterface $router,
|
||||
FactoryInterface $menuFactory,
|
||||
TranslatorInterface $translator
|
||||
) {
|
||||
$this->router = $router;
|
||||
$this->menuFactory = $menuFactory;
|
||||
$this->translator = $translator;
|
||||
public function __construct(private RouterInterface $router, private FactoryInterface $menuFactory, private TranslatorInterface $translator)
|
||||
{
|
||||
}
|
||||
|
||||
public function addLocalMenuBuilder(LocalMenuBuilderInterface $menuBuilder, $menuId)
|
||||
|
Reference in New Issue
Block a user