@@ -60,7 +60,7 @@ discard block |
||
| 60 | 60 | |
| 61 | 61 | if (count($notExistsIds)) { |
| 62 | 62 | foreach ($notExistsIds as $notExistsId) { |
| 63 | - $output->writeln($notExistsId . ' not exists'); |
|
| 63 | + $output->writeln($notExistsId.' not exists'); |
|
| 64 | 64 | } |
| 65 | 65 | return 1; |
| 66 | 66 | } |
@@ -77,7 +77,7 @@ discard block |
||
| 77 | 77 | } |
| 78 | 78 | } |
| 79 | 79 | |
| 80 | - $this->dryRun($input, $output, function () use ($config, $torrentList, $client, $input, $output) { |
|
| 80 | + $this->dryRun($input, $output, function() use ($config, $torrentList, $client, $input, $output) { |
|
| 81 | 81 | try { |
| 82 | 82 | $influxDbClient = $this->getApplication()->getInfluxDbClient( |
| 83 | 83 | $config->get('influxdb-host'), |
@@ -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 | try { |
| 65 | 65 | $influxDbClient = $this->getApplication()->getInfluxDbClient( |
| 66 | 66 | $config->get('influxdb-host'), |
@@ -77,10 +77,10 @@ discard block |
||
| 77 | 77 | |
| 78 | 78 | $client->removeTorrents($obsoleteList); |
| 79 | 79 | $names = TorrentListUtils::getArrayField($obsoleteList, Torrent\Get::NAME); |
| 80 | - $output->writeln('Removed torrents:' . implode(', ', $names)); |
|
| 80 | + $output->writeln('Removed torrents:'.implode(', ', $names)); |
|
| 81 | 81 | }, 'dry-run, don\'t really remove'); |
| 82 | 82 | |
| 83 | - $output->writeln('Found and deleted ' . count($obsoleteList) . ' obsolete torrents from transmission.'); |
|
| 83 | + $output->writeln('Found and deleted '.count($obsoleteList).' obsolete torrents from transmission.'); |
|
| 84 | 84 | return 0; |
| 85 | 85 | } |
| 86 | 86 | } |