apply rector rules

This commit is contained in:
2023-07-28 02:40:02 +02:00
parent 157cdf6dfc
commit f570fe92a5
112 changed files with 252 additions and 562 deletions

View File

@@ -22,17 +22,14 @@ use Twig\TwigFunction;
*/
class MenuTwig extends AbstractExtension implements ContainerAwareInterface
{
/**
* @var \Symfony\Component\DependencyInjection\ContainerInterface
*/
private $container;
private ?\Symfony\Component\DependencyInjection\ContainerInterface $container = null;
/**
* the default parameters for chillMenu.
*
* @var mixed[]
*/
private $defaultParams = [
private array $defaultParams = [
'layout' => '@ChillMain/Menu/defaultMenu.html.twig',
'args' => [],
'activeRouteKey' => null,