fix rendering of accompanying course commen with at_date

This commit is contained in:
2024-06-07 13:06:46 +02:00
parent 61877e0157
commit ebb856fe85
2 changed files with 7 additions and 4 deletions

View File

@@ -167,6 +167,11 @@ class Comment implements TrackCreationInterface, TrackUpdateInterface
return $this;
}
public function getCreatedBy(): ?User
{
return $this->getCreator();
}
public function setUpdatedAt(\DateTimeInterface $updatedAt): self
{
$this->updatedAt = $updatedAt;