mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-31 20:13:49 +00:00
DX: apply rector rulesset up to PHP72
This commit is contained in:
@@ -108,7 +108,7 @@ class TaskLifeCycleEventTimelineProvider implements TimelineProviderInterface
|
||||
{
|
||||
$workflow = $this->registry->get(
|
||||
$entity->getTask(),
|
||||
(isset($entity->getData()['workflow'])) ? $entity->getData()['workflow'] : null
|
||||
$entity->getData()['workflow'] ?? null
|
||||
);
|
||||
// sf4 check: prevent error message:
|
||||
// `Notice: Undefined property: Chill\TaskBundle\Entity\Task\SingleTaskPlaceEvent::$getData`
|
||||
|
Reference in New Issue
Block a user