mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 13:54:02 -07:00
Apply fixes from StyleCI (#1240)
Co-authored-by: StyleCI Bot <bot@styleci.io>
This commit is contained in:
parent
586fc0b563
commit
e9fec26e7d
1 changed files with 1 additions and 2 deletions
|
@ -319,8 +319,7 @@ class Torrent
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$tor = \Arokettu\Bencode\Bencode::decode($file_contents, dictType: \Arokettu\Bencode\Bencode\Collection::ARRAY);
|
$tor = \Arokettu\Bencode\Bencode::decode($file_contents, dictType: \Arokettu\Bencode\Bencode\Collection::ARRAY);
|
||||||
}
|
} catch (Exception) {
|
||||||
catch (Exception ) {
|
|
||||||
self::torrent_error_exit($lang['TORFILE_INVALID']);
|
self::torrent_error_exit($lang['TORFILE_INVALID']);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue