|
@@ -34,8 +34,9 @@ |
|
|
block discarded – undo |
|
34
|
34
|
$output->writeln("\t". 'uncompressed: '.implode(' ', $this->formatSize($archive->getOriginalSize(), 2))); |
|
35
|
35
|
$output->writeln("\t" . 'compressed: ' . implode(' ', $this->formatSize($archive->getCompressedSize(), 2))); |
|
36
|
36
|
$output->writeln("\t" . 'ratio: <info>' . round($archive->getOriginalSize() / $archive->getCompressedSize(), 6) . '/1 (' . floor($archive->getCompressedSize() / $archive->getOriginalSize() * 100) . '%</info>)'); |
|
37
|
|
- if ($archive->can(Abilities::GET_COMMENT) && !empty($comment = $archive->getComment())) |
|
38
|
|
- $output->writeln('Comment: <comment>' . $comment . '</comment>'); |
|
|
37
|
+ if ($archive->can(Abilities::GET_COMMENT) && !empty($comment = $archive->getComment())) { |
|
|
38
|
+ $output->writeln('Comment: <comment>' . $comment . '</comment>'); |
|
|
39
|
+ } |
|
39
|
40
|
|
|
40
|
41
|
return 0; |
|
41
|
42
|
} |
Please login to merge, or discard this patch.