@@ -43,7 +43,7 @@ |
||
43 | 43 | $obsoleteList = TorrentListUtils::getObsoleteTorrents($torrentList); |
44 | 44 | if (!empty($obsoleteList)) { |
45 | 45 | $output->writeln('<comment>Found obsolete torrents, ' |
46 | - . 'remove it using transmission-cli torrent-remove-duplicates</comment>'); |
|
46 | + . 'remove it using transmission-cli torrent-remove-duplicates</comment>'); |
|
47 | 47 | return 1; |
48 | 48 | } |
49 | 49 | } |
@@ -60,7 +60,7 @@ discard block |
||
60 | 60 | } |
61 | 61 | } |
62 | 62 | |
63 | - $this->dryRun($input, $output, function () use ($client, $obsoleteList, $config, $input, $output) { |
|
63 | + $this->dryRun($input, $output, function() use ($client, $obsoleteList, $config, $input, $output) { |
|
64 | 64 | $influxDbClient = $this->getApplication()->getInfluxDbClient( |
65 | 65 | $config->get('influxdb-host'), |
66 | 66 | $config->get('influxdb-port'), |
@@ -73,10 +73,10 @@ discard block |
||
73 | 73 | |
74 | 74 | $client->removeTorrents($obsoleteList); |
75 | 75 | $names = TorrentListUtils::getArrayField($obsoleteList, Torrent\Get::NAME); |
76 | - $output->writeln('Removed torrents:' . implode(', ', $names)); |
|
76 | + $output->writeln('Removed torrents:'.implode(', ', $names)); |
|
77 | 77 | }, 'dry-run, don\'t really remove'); |
78 | 78 | |
79 | - $output->writeln('Found and deleted ' . count($obsoleteList) . ' obsolete torrents from transmission.'); |
|
79 | + $output->writeln('Found and deleted '.count($obsoleteList).' obsolete torrents from transmission.'); |
|
80 | 80 | return 0; |
81 | 81 | } |
82 | 82 | } |