[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

@@ -44,7 +44,7 @@ class ForeignUser
private int $id;
private int $service;
private string $uri;
private ?string $nickname;
private ?string $nickname = null;
private DateTimeInterface $created;
private DateTimeInterface $modified;
@@ -83,7 +83,7 @@ class ForeignUser
public function setNickname(?string $nickname): self
{
$this->nickname = mb_substr($nickname, 0, 191);
$this->nickname = \is_null($nickname) ? null : mb_substr($nickname, 0, 191);
return $this;
}