@@ -308,7 +308,7 @@ |
||
308 | 308 | } |
309 | 309 | |
310 | 310 | $odd = !$odd; |
311 | - $body[] = "|$start ". \implode(" $end|$start ", $parts) . " $end|"; |
|
311 | + $body[] = "|$start " . \implode(" $end|$start ", $parts) . " $end|"; |
|
312 | 312 | } |
313 | 313 | |
314 | 314 | $dash = '+' . \implode('+', $dash) . '+' . \PHP_EOL; |
@@ -66,7 +66,7 @@ discard block |
||
66 | 66 | */ |
67 | 67 | public function showCommandsHelp(array $commands, string $header = '', string $footer = ''): self |
68 | 68 | { |
69 | - $this->maxCmdName = $commands ? \max(\array_map(function (Command $cmd) { |
|
69 | + $this->maxCmdName = $commands ? \max(\array_map(function(Command $cmd) { |
|
70 | 70 | return \strlen($cmd->name()); |
71 | 71 | }, $commands)) : 0; |
72 | 72 | |
@@ -121,11 +121,11 @@ discard block |
||
121 | 121 | */ |
122 | 122 | protected function sortItems(array $items, &$max = 0): array |
123 | 123 | { |
124 | - $max = \max(\array_map(function ($item) { |
|
124 | + $max = \max(\array_map(function($item) { |
|
125 | 125 | return \strlen($this->getName($item)); |
126 | 126 | }, $items)); |
127 | 127 | |
128 | - \uasort($items, function ($a, $b) { |
|
128 | + \uasort($items, function($a, $b) { |
|
129 | 129 | /** @var Parameter $b */ |
130 | 130 | /** @var Parameter $a */ |
131 | 131 | return $a->name() <=> $b->name(); |