Completed
Push — master ( aafc8c...73adad )
by Jitendra
11s
created
src/Helper/OutputHelper.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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();
Please login to merge, or discard this patch.