mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2025-02-09 21:44:23 +00:00
fix returned data type
This commit is contained in:
parent
f919a7ed85
commit
9335b01ad6
@ -49,7 +49,7 @@ class TorrentService
|
||||
|
||||
public function readTorrentFileByTorrentId(
|
||||
int $id
|
||||
): \Rhilip\Bencode\TorrentFile
|
||||
): ?\Rhilip\Bencode\TorrentFile
|
||||
{
|
||||
return $this->readTorrentFileByFilepath(
|
||||
$this->getStorageFilepathById($id)
|
||||
|
Loading…
x
Reference in New Issue
Block a user