From 82b0490bb17aa45b6da4f32f95b4be99194b8d31 Mon Sep 17 00:00:00 2001 From: Yury Pikhtarev Date: Sat, 4 Nov 2023 17:59:22 +0400 Subject: [PATCH] Apply fixes from StyleCI (#1033) 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 971b78406..f750727f6 100644 --- a/src/Legacy/Torrent.php +++ b/src/Legacy/Torrent.php @@ -389,8 +389,7 @@ class Torrent if (isset($info['length'])) { $totallen = (float)$info['length']; - } - elseif (isset($bt_v1, $info['files']) && \is_array($info['files'])) { + } elseif (isset($bt_v1, $info['files']) && \is_array($info['files'])) { foreach ($info['files'] as $fn => $f) { // Exclude padding files if (($f['attr'] ?? null) !== 'p') {