mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 14:43:49 +00:00
DX: fix cs
This commit is contained in:
@@ -89,10 +89,10 @@ class CalendarToRemoteHandler implements MessageHandlerInterface
|
||||
|
||||
$newInvites = array_filter(
|
||||
array_map(
|
||||
fn($id) => $this->inviteRepository->find($id),
|
||||
fn ($id) => $this->inviteRepository->find($id),
|
||||
$calendarMessage->getNewInvitesIds(),
|
||||
),
|
||||
static fn(?Invite $invite) => null !== $invite
|
||||
static fn (?Invite $invite) => null !== $invite
|
||||
);
|
||||
|
||||
$this->calendarConnector->syncCalendar(
|
||||
|
@@ -58,7 +58,7 @@ class CalendarMessage
|
||||
$this->previousMainUserId = null !== $calendar->previousMainUser ?
|
||||
$calendar->previousMainUser->getId() : null;
|
||||
$this->newInvitesIds = array_map(static fn (Invite $i) => $i->getId(), $calendar->newInvites);
|
||||
$this->oldInvites = array_map(static fn(Invite $i) => [
|
||||
$this->oldInvites = array_map(static fn (Invite $i) => [
|
||||
'inviteId' => $i->getId(),
|
||||
'userId' => $i->getUser()->getId(),
|
||||
'userEmail' => $i->getUser()->getEmail(),
|
||||
|
Reference in New Issue
Block a user