mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 07:03:49 +00:00
cs: Fix code-style (using PHPCSFixer and PHPCS).
This commit is contained in:
@@ -82,7 +82,8 @@ class PersonMenuBuilder implements LocalMenuBuilderInterface
|
||||
'order' => 99999,
|
||||
]);
|
||||
|
||||
if ('visible' === $this->showAccompanyingPeriod
|
||||
if (
|
||||
'visible' === $this->showAccompanyingPeriod
|
||||
&& $this->security->isGranted(AccompanyingPeriodVoter::SEE, $parameters['person'])
|
||||
) {
|
||||
$menu->addChild($this->translator->trans('Accompanying period list'), [
|
||||
|
Reference in New Issue
Block a user