fixed: CS

This commit is contained in:
Julien Fastré 2022-07-11 12:56:48 +02:00
parent 191b8ecf81
commit 68c1833584
5 changed files with 5 additions and 7 deletions

View File

@ -143,7 +143,7 @@ class MapCalendarToUser
public function writeMetadata(User $user): User
{
if (null === $user->getEmail() OR '' === $user->getEmail()) {
if (null === $user->getEmail() || '' === $user->getEmail()) {
return $user;
}

View File

@ -38,7 +38,7 @@ class AdminMenuBuilder implements LocalMenuBuilderInterface
])
->setAttribute('class', 'list-group-item-header')
->setExtras([
'order' => 6500
'order' => 6500,
]);
$menu->addChild('Event type', [

View File

@ -75,8 +75,6 @@ class PickCenterType extends AbstractType
public function buildForm(FormBuilderInterface $builder, array $options)
{
$export = $this->exportManager->getExport($options['export_alias']);
$centers = $this->authorizationHelper->getReachableCenters(
$this->user,

View File

@ -1192,7 +1192,7 @@ class Person implements HasCenterInterface, TrackCreationInterface, TrackUpdateI
}
/**
* @deprecated Use @link{Person::getCurrentPersonAddress} or @link{Person::getCurrentHouseholdAddress} instead
* @deprecated Use @see{Person::getCurrentPersonAddress} or @see{Person::getCurrentHouseholdAddress} instead
*
* @throws Exception
*