admin: remove obsolet header => true tag + php code fix

This commit is contained in:
nobohan
2022-05-10 11:46:17 +02:00
parent 0e8b73638f
commit be27df1fd5
17 changed files with 30 additions and 39 deletions

View File

@@ -26,5 +26,4 @@ class AdminController extends AbstractController
{
return $this->render('ChillAsideActivityBundle:Admin:index.html.twig');
}
}

View File

@@ -14,8 +14,6 @@ namespace Chill\AsideActivityBundle\Menu;
use Knp\Menu\MenuItem;
use Symfony\Component\Security\Core\Security;
use function in_array;
final class AdminMenuBuilder implements \Chill\MainBundle\Routing\LocalMenuBuilderInterface
{
private Security $security;
@@ -38,7 +36,6 @@ final class AdminMenuBuilder implements \Chill\MainBundle\Routing\LocalMenuBuild
->setAttribute('class', 'list-group-item-header')
->setExtras([
'order' => 7000,
'header' => true,
'explain' => 'Aside activity type configuration',
]);
$menu