mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-09 16:24:59 +00:00
DX: rector rules upt to PHP 74
This commit is contained in:
@@ -86,9 +86,7 @@ class SingleTaskTaskLifeCycleEventTimelineProvider implements TimelineProviderIn
|
||||
->findBy(['id' => $ids]);
|
||||
|
||||
return array_combine(
|
||||
array_map(static function ($e) {
|
||||
return $e->getId();
|
||||
}, $events),
|
||||
array_map(static fn($e) => $e->getId(), $events),
|
||||
$events
|
||||
);
|
||||
}
|
||||
|
@@ -97,9 +97,7 @@ class TaskLifeCycleEventTimelineProvider implements TimelineProviderInterface
|
||||
->findBy(['id' => $ids]);
|
||||
|
||||
return array_combine(
|
||||
array_map(static function ($e) {
|
||||
return $e->getId();
|
||||
}, $events),
|
||||
array_map(static fn($e) => $e->getId(), $events),
|
||||
$events
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user