From 836451828208efad037604112cdb8d413912a18f Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Fri, 14 May 2021 08:48:40 +0200 Subject: [PATCH] Rename `ChillPersonBundle:AccompanyingPeriod` to `ChillPersonBundle:AccompanyingPeriodParticipation`. --- .../Timeline/AbstractTimelineAccompanyingPeriod.php | 2 +- .../Timeline/TimelineAccompanyingPeriodClosing.php | 4 ++-- .../Timeline/TimelineAccompanyingPeriodOpening.php | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Bundle/ChillPersonBundle/Timeline/AbstractTimelineAccompanyingPeriod.php b/src/Bundle/ChillPersonBundle/Timeline/AbstractTimelineAccompanyingPeriod.php index 37f185bb2..52faa8e1d 100644 --- a/src/Bundle/ChillPersonBundle/Timeline/AbstractTimelineAccompanyingPeriod.php +++ b/src/Bundle/ChillPersonBundle/Timeline/AbstractTimelineAccompanyingPeriod.php @@ -78,7 +78,7 @@ abstract class AbstractTimelineAccompanyingPeriod implements TimelineProviderInt } $metadata = $this->em - ->getClassMetadata('ChillPersonBundle:AccompanyingPeriod') + ->getClassMetadata('ChillPersonBundle:AccompanyingPeriodParticipation') ; return array( diff --git a/src/Bundle/ChillPersonBundle/Timeline/TimelineAccompanyingPeriodClosing.php b/src/Bundle/ChillPersonBundle/Timeline/TimelineAccompanyingPeriodClosing.php index 05aebbfd4..3e78bb21d 100644 --- a/src/Bundle/ChillPersonBundle/Timeline/TimelineAccompanyingPeriodClosing.php +++ b/src/Bundle/ChillPersonBundle/Timeline/TimelineAccompanyingPeriodClosing.php @@ -46,8 +46,8 @@ class TimelineAccompanyingPeriodClosing extends AbstractTimelineAccompanyingPeri public function fetchQuery($context, array $args) { $metadata = $this->em - ->getClassMetadata('ChillPersonBundle:AccompanyingPeriod'); - + ->getClassMetadata('ChillPersonBundle:AccompanyingPeriodParticipation'); + $data = $this->basicFetchQuery($context, $args); $data['type'] = 'accompanying_period_closing'; diff --git a/src/Bundle/ChillPersonBundle/Timeline/TimelineAccompanyingPeriodOpening.php b/src/Bundle/ChillPersonBundle/Timeline/TimelineAccompanyingPeriodOpening.php index f8789b088..8be308493 100644 --- a/src/Bundle/ChillPersonBundle/Timeline/TimelineAccompanyingPeriodOpening.php +++ b/src/Bundle/ChillPersonBundle/Timeline/TimelineAccompanyingPeriodOpening.php @@ -46,8 +46,8 @@ class TimelineAccompanyingPeriodOpening extends AbstractTimelineAccompanyingPeri public function fetchQuery($context, array $args) { $metadata = $this->em - ->getClassMetadata('ChillPersonBundle:AccompanyingPeriod'); - + ->getClassMetadata('ChillPersonBundle:AccompanyingPeriodParticipation'); + $data = $this->basicFetchQuery($context, $args); $data['type'] = 'accompanying_period_opening';