diff --git a/src/Bundle/ChillMainBundle/Entity/NewsItem.php b/src/Bundle/ChillMainBundle/Entity/NewsItem.php index 371cc7f15..cc1c77bac 100644 --- a/src/Bundle/ChillMainBundle/Entity/NewsItem.php +++ b/src/Bundle/ChillMainBundle/Entity/NewsItem.php @@ -70,7 +70,7 @@ class NewsItem implements TrackCreationInterface, TrackUpdateInterface return $this->content; } - public function setContent(string|null $content): void + public function setContent(?string $content): void { $this->content = (string) $content; }