Browse Source

fix returned data type

main
ghost 1 year ago
parent
commit
9335b01ad6
  1. 2
      src/Service/TorrentService.php

2
src/Service/TorrentService.php

@ -49,7 +49,7 @@ class TorrentService @@ -49,7 +49,7 @@ class TorrentService
public function readTorrentFileByTorrentId(
int $id
): \Rhilip\Bencode\TorrentFile
): ?\Rhilip\Bencode\TorrentFile
{
return $this->readTorrentFileByFilepath(
$this->getStorageFilepathById($id)

Loading…
Cancel
Save