phpstan, rector, phpcs fixes

This commit is contained in:
2025-05-08 10:59:54 +02:00
parent 3d6ffea58e
commit 70b104d41e
17 changed files with 51 additions and 54 deletions

View File

@@ -17,11 +17,8 @@ use Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface;
class AdminMenuBuilder implements LocalMenuBuilderInterface
{
protected AuthorizationCheckerInterface $authorizationChecker;
public function __construct(AuthorizationCheckerInterface $authorizationChecker)
public function __construct(protected AuthorizationCheckerInterface $authorizationChecker)
{
$this->authorizationChecker = $authorizationChecker;
}
public function buildMenu($menuId, MenuItem $menu, array $parameters): void