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

@ -127,7 +127,7 @@ class CalendarRange implements TrackCreationInterface, TrackUpdateInterface
public function setLocation(?Location $location): self public function setLocation(?Location $location): self
{ {
$this->location = $location; $this->location = $location;
return $this; return $this;
} }

View File

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

View File

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

View File

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