mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 18:48:21 -07:00
Miscellaneous static analysis improvements for php 7.1 (#620)
* Miscellaneous static analysis improvements for php 7.1 * Update changes.txt
This commit is contained in:
parent
4e8e181d8c
commit
7019d31353
37 changed files with 156 additions and 151 deletions
|
@ -51,11 +51,11 @@ $row = DB()->fetch_row("
|
|||
LIMIT 1
|
||||
");
|
||||
|
||||
$output['files'][$info_hash] = array(
|
||||
$output['files'][$info_hash] = [
|
||||
'complete' => (int)$row['seeders'],
|
||||
'downloaded' => (int)$row['complete_count'],
|
||||
'incomplete' => (int)$row['leechers'],
|
||||
);
|
||||
];
|
||||
|
||||
echo \Rych\Bencode\Bencode::encode($output);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue