Apply fixes from StyleCI (#1240)

Co-authored-by: StyleCI Bot <bot@styleci.io>
This commit is contained in:
Yury Pikhtarev 2023-12-20 21:47:33 +04:00 committed by GitHub
commit e9fec26e7d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -319,8 +319,7 @@ class Torrent
try {
$tor = \Arokettu\Bencode\Bencode::decode($file_contents, dictType: \Arokettu\Bencode\Bencode\Collection::ARRAY);
}
catch (Exception ) {
} catch (Exception) {
self::torrent_error_exit($lang['TORFILE_INVALID']);
}