diff --git a/src/Entity/Torrent.php b/src/Entity/Torrent.php index 0252a8e..e29c448 100644 --- a/src/Entity/Torrent.php +++ b/src/Entity/Torrent.php @@ -215,7 +215,7 @@ class Torrent return $this->torrentPosterId; } - public function setTorrentPosterId(int $torrentPosterId): static + public function setTorrentPosterId(?int $torrentPosterId): static { $this->torrentPosterId = $torrentPosterId;