mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-13 13:54:23 +00:00
fixed: CS
This commit is contained in:
parent
191b8ecf81
commit
68c1833584
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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', [
|
||||||
|
@ -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,
|
||||||
|
@ -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
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user