cs: Fix code-style (using PHPCSFixer and PHPCS).

This commit is contained in:
Pol Dellaiera
2021-12-21 10:59:23 +01:00
parent b7360955f7
commit 8401ce2656
280 changed files with 742 additions and 319 deletions

View File

@@ -19,6 +19,7 @@ use Doctrine\ORM\EntityManagerInterface;
use LogicException;
use Symfony\Component\Workflow\Registry;
use Symfony\Component\Workflow\Workflow;
use function array_combine;
use function array_map;
@@ -85,7 +86,9 @@ class SingleTaskTaskLifeCycleEventTimelineProvider implements TimelineProviderIn
->findBy(['id' => $ids]);
return array_combine(
array_map(static function ($e) { return $e->getId(); }, $events),
array_map(static function ($e) {
return $e->getId();
}, $events),
$events
);
}