From c841821ed443adff7c1ccb4c2f304e8d119d3595 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Sun, 3 Jul 2022 22:19:26 +0200 Subject: [PATCH] fix loading calendar range fixtures (3) --- src/Bundle/ChillCalendarBundle/Entity/CalendarRange.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Bundle/ChillCalendarBundle/Entity/CalendarRange.php b/src/Bundle/ChillCalendarBundle/Entity/CalendarRange.php index a7f7ce2c9..013b465d5 100644 --- a/src/Bundle/ChillCalendarBundle/Entity/CalendarRange.php +++ b/src/Bundle/ChillCalendarBundle/Entity/CalendarRange.php @@ -124,9 +124,11 @@ class CalendarRange implements TrackCreationInterface, TrackUpdateInterface return $this; } - public function setLocation(?Location $location): void + public function setLocation(?Location $location): self { $this->location = $location; + + return $this; } public function setStartDate(DateTimeImmutable $startDate): self