From e1ba6760da0a3c11616ac7fd3b3d80598d7b7cfe Mon Sep 17 00:00:00 2001 From: seb-jean Date: Wed, 2 Dec 2020 14:34:02 +0100 Subject: [PATCH] Update Post.php --- src/Entity/Post.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Entity/Post.php b/src/Entity/Post.php index 479e481d8..9c4e9637b 100644 --- a/src/Entity/Post.php +++ b/src/Entity/Post.php @@ -132,7 +132,7 @@ public function getTitle(): ?string return $this->title; } - public function setTitle(string $title): void + public function setTitle(?string $title): void { $this->title = $title; } @@ -152,7 +152,7 @@ public function getContent(): ?string return $this->content; } - public function setContent(string $content): void + public function setContent(?string $content): void { $this->content = $content; } @@ -200,7 +200,7 @@ public function getSummary(): ?string return $this->summary; } - public function setSummary(string $summary): void + public function setSummary(?string $summary): void { $this->summary = $summary; }