[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

@@ -42,11 +42,11 @@ class Poll extends Entity
// {{{ Autocode
// @codeCoverageIgnoreStart
private int $id;
private ?string $uri;
private ?int $actor_id;
private ?string $uri = null;
private ?int $actor_id = null;
private int $note_id;
private ?string $question;
private ?string $options;
private ?string $question = null;
private ?string $options = null;
private DateTimeInterface $created;
private DateTimeInterface $modified;
@@ -63,7 +63,7 @@ class Poll extends Entity
public function setUri(?string $uri): self
{
$this->uri = mb_substr($uri, 0, 191);
$this->uri = \is_null($uri) ? null : mb_substr($uri, 0, 191);
return $this;
}