[AUTOGENERATED] Update autogenerated code

This commit is contained in:
2021-12-26 21:32:09 +00:00
committed by Diogo Peralta Cordeiro
parent 0df423e84b
commit 93276ce8d0
35 changed files with 131 additions and 131 deletions

View File

@@ -47,7 +47,7 @@ class Notification extends Entity
// @codeCoverageIgnoreStart
private int $activity_id;
private int $target_id;
private ?string $reason;
private ?string $reason = null;
private DateTimeInterface $created;
private DateTimeInterface $modified;
@@ -75,7 +75,7 @@ class Notification extends Entity
public function setReason(?string $reason): self
{
$this->reason = mb_substr($reason, 0, 191);
$this->reason = \is_null($reason) ? null : mb_substr($reason, 0, 191);
return $this;
}