mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-22 06:13:58 -07:00
Code formatting (#1030)
This commit is contained in:
parent
01c39aed8c
commit
afd4b7a6cb
1 changed files with 1 additions and 1 deletions
|
@ -390,7 +390,7 @@ class Torrent
|
||||||
|
|
||||||
if (isset($info['length'])) {
|
if (isset($info['length'])) {
|
||||||
$totallen = (float)$info['length'];
|
$totallen = (float)$info['length'];
|
||||||
} elseif (isset($bt_v1) && isset($info['files']) && \is_array($info['files'])) {
|
} elseif (isset($bt_v1, $info['files']) && \is_array($info['files'])) {
|
||||||
foreach ($info['files'] as $fn => $f) {
|
foreach ($info['files'] as $fn => $f) {
|
||||||
// Exclude padding files
|
// Exclude padding files
|
||||||
if (($f['attr'] ?? null) !== 'p') {
|
if (($f['attr'] ?? null) !== 'p') {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue