mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-22 23:53:50 +00:00
Fixed nullable content for NewsItem in setContent signature #392
This commit is contained in:
@@ -70,9 +70,9 @@ class NewsItem implements TrackCreationInterface, TrackUpdateInterface
|
||||
return $this->content;
|
||||
}
|
||||
|
||||
public function setContent(string $content): void
|
||||
public function setContent(string|null $content): void
|
||||
{
|
||||
$this->content = $content;
|
||||
$this->content = (string) $content;
|
||||
}
|
||||
|
||||
public function getStartDate(): ?\DateTimeImmutable
|
||||
|
Reference in New Issue
Block a user