Merge remote-tracking branch 'origin/master' into calendar/finalization

This commit is contained in:
2022-06-17 16:53:56 +02:00
35 changed files with 852 additions and 170 deletions

View File

@@ -54,9 +54,9 @@ class PrivateCommentEmbeddable
return $this;
}
public function setCommentForUser(User $user, string $content): self
public function setCommentForUser(User $user, ?string $content): self
{
$this->comments[$user->getId()] = trim($content);
$this->comments[$user->getId()] = trim((string) $content);
return $this;
}