mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2026-04-01 09:35:28 +00:00
fix returned data type
This commit is contained in:
parent
f919a7ed85
commit
9335b01ad6
1 changed files with 1 additions and 1 deletions
|
|
@ -49,7 +49,7 @@ class TorrentService
|
|||
|
||||
public function readTorrentFileByTorrentId(
|
||||
int $id
|
||||
): \Rhilip\Bencode\TorrentFile
|
||||
): ?\Rhilip\Bencode\TorrentFile
|
||||
{
|
||||
return $this->readTorrentFileByFilepath(
|
||||
$this->getStorageFilepathById($id)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue