diff --git a/src/Service/TorrentService.php b/src/Service/TorrentService.php index 9a6762f..5bac3e4 100644 --- a/src/Service/TorrentService.php +++ b/src/Service/TorrentService.php @@ -49,7 +49,7 @@ class TorrentService public function readTorrentFileByTorrentId( int $id - ): \Rhilip\Bencode\TorrentFile + ): ?\Rhilip\Bencode\TorrentFile { return $this->readTorrentFileByFilepath( $this->getStorageFilepathById($id)