From e9fec26e7d9a1fdd7e70baf053e3a75c3a9979ff Mon Sep 17 00:00:00 2001 From: Yury Pikhtarev Date: Wed, 20 Dec 2023 21:47:33 +0400 Subject: [PATCH] Apply fixes from StyleCI (#1240) Co-authored-by: StyleCI Bot --- src/Legacy/Torrent.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Legacy/Torrent.php b/src/Legacy/Torrent.php index 4a561f0a6..309ced7bf 100644 --- a/src/Legacy/Torrent.php +++ b/src/Legacy/Torrent.php @@ -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']); }