@@ -27,7 +27,7 @@ discard block |
||
27 | 27 | |
28 | 28 | protected function configure() { |
29 | 29 | // Some of our commands do not extend this class; and some of those that do do not call parent::configure() |
30 | - $defaultHelp = 'More extensive and thorough documentation may be found at ' . \OCP\Server::get(\OCP\Defaults::class)->getDocBaseUrl() . PHP_EOL; |
|
30 | + $defaultHelp = 'More extensive and thorough documentation may be found at '.\OCP\Server::get(\OCP\Defaults::class)->getDocBaseUrl().PHP_EOL; |
|
31 | 31 | $this |
32 | 32 | ->setHelp($defaultHelp) |
33 | 33 | ->addOption( |
@@ -53,19 +53,19 @@ discard block |
||
53 | 53 | default: |
54 | 54 | foreach ($items as $key => $item) { |
55 | 55 | if (is_iterable($item)) { |
56 | - $output->writeln($prefix . $key . ':'); |
|
57 | - $this->writeArrayInOutputFormat($input, $output, $item, ' ' . $prefix); |
|
56 | + $output->writeln($prefix.$key.':'); |
|
57 | + $this->writeArrayInOutputFormat($input, $output, $item, ' '.$prefix); |
|
58 | 58 | continue; |
59 | 59 | } |
60 | 60 | if (!is_int($key) || get_class($this) === ListCommand::class) { |
61 | 61 | $value = $this->valueToString($item); |
62 | 62 | if (!is_null($value)) { |
63 | - $output->writeln($prefix . $key . ': ' . $value); |
|
63 | + $output->writeln($prefix.$key.': '.$value); |
|
64 | 64 | } else { |
65 | - $output->writeln($prefix . $key); |
|
65 | + $output->writeln($prefix.$key); |
|
66 | 66 | } |
67 | 67 | } else { |
68 | - $output->writeln($prefix . $this->valueToString($item)); |
|
68 | + $output->writeln($prefix.$this->valueToString($item)); |
|
69 | 69 | } |
70 | 70 | } |
71 | 71 | break; |