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