DX: fix cs

This commit is contained in:
2023-04-15 00:43:55 +02:00
parent 80647147ee
commit 746ed4f5e5
188 changed files with 309 additions and 308 deletions

View File

@@ -76,7 +76,7 @@ class PrivacyEventSubscriber implements EventSubscriberInterface
$involved = $this->getInvolved();
$involved['period_id'] = $event->getPeriod()->getId();
$involved['persons'] = $event->getPeriod()->getPersons()
->map(static fn(Person $p) => $p->getId())
->map(static fn (Person $p) => $p->getId())
->toArray();
$this->logger->notice(
@@ -100,7 +100,7 @@ class PrivacyEventSubscriber implements EventSubscriberInterface
if ($event->hasPersons()) {
$involved['persons'] = array_map(
static fn(Person $p) => $p->getId(),
static fn (Person $p) => $p->getId(),
$event->getPersons()
);
}