Completed
Push — master ( 528484...9b16a2 )
by Aydin
15s queued 11s
created
src/CliMenu.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -311,7 +311,7 @@  discard block
 block discarded – undo
311 311
                 : $this->selectedItem++;
312 312
 
313 313
             if ($this->selectedItem !== null && !array_key_exists($this->selectedItem, $this->items)) {
314
-                $this->selectedItem  = $direction === 'UP'
314
+                $this->selectedItem = $direction === 'UP'
315 315
                     ? (int) end($itemKeys)
316 316
                     : (int) reset($itemKeys);
317 317
             }
@@ -463,7 +463,7 @@  discard block
 block discarded – undo
463 463
             $frame->addRows($this->drawMenuItem(new LineBreakItem($this->style->getTitleSeparator())));
464 464
         }
465 465
 
466
-        array_map(function ($item, $index) use ($frame) {
466
+        array_map(function($item, $index) use ($frame) {
467 467
             $frame->addRows($this->drawMenuItem($item, $index === $this->selectedItem));
468 468
         }, $this->items, array_keys($this->items));
469 469
 
@@ -514,7 +514,7 @@  discard block
 block discarded – undo
514 514
             $borderColour = '';
515 515
         }
516 516
 
517
-        return array_map(function ($row) use ($invertedColoursSetCode, $invertedColoursUnsetCode, $borderColour) {
517
+        return array_map(function($row) use ($invertedColoursSetCode, $invertedColoursUnsetCode, $borderColour) {
518 518
             return sprintf(
519 519
                 "%s%s%s%s%s%s%s%s%s%s%s%s\n",
520 520
                 str_repeat(' ', $this->style->getMargin()),
Please login to merge, or discard this patch.