From 446da9eb0bab53f0d1a59ac7399962ddee29ee5e Mon Sep 17 00:00:00 2001 From: ghost Date: Mon, 30 Oct 2023 19:32:58 +0200 Subject: [PATCH] fix method data type #18 --- src/Entity/Torrent.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;