mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-22 06:13:58 -07:00
Apply fixes from StyleCI (#1029)
Co-authored-by: StyleCI Bot <bot@styleci.io>
This commit is contained in:
parent
5d872e3555
commit
01c39aed8c
1 changed files with 1 additions and 1 deletions
|
@ -348,7 +348,7 @@ class Torrent
|
|||
}
|
||||
|
||||
// Check if torrent contains info_hash v2 or v1
|
||||
if (($info['meta version'] ?? null) == 2 ) {
|
||||
if (($info['meta version'] ?? null) == 2) {
|
||||
if (is_array($info['file tree'] ?? null)) {
|
||||
$bt_v2 = true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue