Completed
Push — master ( dce443...92287e )
by Aydin
02:43
created
src/CliMenuBuilder.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -391,7 +391,7 @@  discard block
 block discarded – undo
391 391
      */
392 392
     private function itemsHaveExtra(array $items)
393 393
     {
394
-        return !empty(array_filter($items, function (MenuItemInterface $item) {
394
+        return !empty(array_filter($items, function(MenuItemInterface $item) {
395 395
             return $item->showsItemExtra();
396 396
         }));
397 397
     }
@@ -404,7 +404,7 @@  discard block
 block discarded – undo
404 404
      */
405 405
     private function getMenuStyle()
406 406
     {
407
-        $diff = array_udiff_assoc($this->style, $this->getStyleClassDefaults(), function ($current, $default) {
407
+        $diff = array_udiff_assoc($this->style, $this->getStyleClassDefaults(), function($current, $default) {
408 408
             if ($current instanceof TerminalInterface) {
409 409
                 return 0;
410 410
             }
@@ -454,7 +454,7 @@  discard block
 block discarded – undo
454 454
      */
455 455
     private function buildSubMenus(array $items)
456 456
     {
457
-        return array_map(function ($item) {
457
+        return array_map(function($item) {
458 458
             if (!is_string($item)) {
459 459
                 return $item;
460 460
             }
Please login to merge, or discard this patch.