|
@@ -51,8 +51,8 @@ discard block |
|
|
block discarded – undo |
|
51
|
51
|
$config->get('influxdb-database') |
|
52
|
52
|
); |
|
53
|
53
|
|
|
54
|
|
- $lastDays = (int)$input->getOption('days') ? (int)$input->getOption('days') : 0; |
|
55
|
|
- $limit = (int)$input->getOption('limit') ? (int)$input->getOption('limit') : 0; |
|
|
54
|
+ $lastDays = (int) $input->getOption('days') ? (int) $input->getOption('days') : 0; |
|
|
55
|
+ $limit = (int) $input->getOption('limit') ? (int) $input->getOption('limit') : 0; |
|
56
|
56
|
|
|
57
|
57
|
$torrentList = $client->getTorrentData(); |
|
58
|
58
|
|
|
@@ -105,7 +105,7 @@ discard block |
|
|
block discarded – undo |
|
105
|
105
|
|
|
106
|
106
|
private function removeTorrents(InputInterface $input, OutputInterface $output, array $rows) |
|
107
|
107
|
{ |
|
108
|
|
- $limit = (int)$input->getOption('limit') ? (int)$input->getOption('limit') : 0; |
|
|
108
|
+ $limit = (int) $input->getOption('limit') ? (int) $input->getOption('limit') : 0; |
|
109
|
109
|
|
|
110
|
110
|
$rows = TableUtils::sortRowsByColumnNumber($rows, $input->getOption('sort')); |
|
111
|
111
|
|
Please login to merge, or discard this patch.