mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2026-04-01 17:45:31 +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(
|
public function readTorrentFileByTorrentId(
|
||||||
int $id
|
int $id
|
||||||
): \Rhilip\Bencode\TorrentFile
|
): ?\Rhilip\Bencode\TorrentFile
|
||||||
{
|
{
|
||||||
return $this->readTorrentFileByFilepath(
|
return $this->readTorrentFileByFilepath(
|
||||||
$this->getStorageFilepathById($id)
|
$this->getStorageFilepathById($id)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue