mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-02 13:03:50 +00:00
apply more cs rules for php-cs
This commit is contained in:
@@ -15,7 +15,6 @@ use Chill\DocStoreBundle\Security\Authorization\AccompanyingCourseDocumentVoter;
|
||||
use Chill\DocStoreBundle\Security\Authorization\PersonDocumentVoter;
|
||||
use Chill\MainBundle\Routing\LocalMenuBuilderInterface;
|
||||
use Knp\Menu\MenuItem;
|
||||
use LogicException;
|
||||
use Symfony\Component\Security\Core\Security;
|
||||
use Symfony\Contracts\Translation\TranslatorInterface;
|
||||
|
||||
@@ -28,7 +27,7 @@ final readonly class MenuBuilder implements LocalMenuBuilderInterface
|
||||
match ($menuId) {
|
||||
'accompanyingCourse' => $this->buildMenuAccompanyingCourse($menu, $parameters),
|
||||
'person' => $this->buildMenuPerson($menu, $parameters),
|
||||
default => throw new LogicException("this menuid {$menuId} is not implemented"),
|
||||
default => throw new \LogicException("this menuid {$menuId} is not implemented"),
|
||||
};
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user