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
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…
Cancel
Save