The expression return $this->changedAt could return the type null which is incompatible with the type-hinted return DateTime. Consider adding an additional type-check to rule them out.
Loading history...
36
}
37
public function getContent(): ?string {
38
return $this->content;
39
}
40
41
public function setContent(?string $content): PrivacyPolicy {