|
|
@ -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) |
|
|
|