Skip to content

Commit

Permalink
Update Post.php
Browse files Browse the repository at this point in the history
  • Loading branch information
seb-jean committed Dec 2, 2020
1 parent d8d0906 commit e1ba676
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Entity/Post.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand All @@ -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;
}
Expand Down Expand Up @@ -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;
}
Expand Down

0 comments on commit e1ba676

Please sign in to comment.