mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 15:13:50 +00:00
cs: Fix code style (safe rules only).
This commit is contained in:
@@ -1,23 +1,28 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Chill is a software for social workers
|
||||
*
|
||||
* For the full copyright and license information, please view
|
||||
* the LICENSE file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Chill\MainBundle\Controller;
|
||||
|
||||
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
|
||||
|
||||
/**
|
||||
* Class MenuController
|
||||
*
|
||||
* @package Chill\MainBundle\Controller
|
||||
* Class MenuController.
|
||||
*/
|
||||
class MenuController extends AbstractController
|
||||
{
|
||||
public function writeMenuAction($menu, $layout, $activeRouteKey = null, array $args = array() )
|
||||
public function writeMenuAction($menu, $layout, $activeRouteKey = null, array $args = [])
|
||||
{
|
||||
return $this->render($layout, array(
|
||||
return $this->render($layout, [
|
||||
'menu_composer' => $this->get('chill.main.menu_composer'),
|
||||
'menu' => $menu,
|
||||
'args' => $args,
|
||||
'activeRouteKey' => $activeRouteKey
|
||||
));
|
||||
'activeRouteKey' => $activeRouteKey,
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user