@@ -380,10 +380,10 @@ protected function drawMenuItem(MenuItemInterface $item, bool $selected = false)
380
380
{
381
381
$ rows = $ item ->getRows ($ this ->style , $ selected );
382
382
383
- $ invertedColour = $ selected
383
+ $ invertedColoursSetCode = $ selected
384
384
? $ this ->style ->getInvertedColoursSetCode ()
385
385
: '' ;
386
- $ notInvertedColour = $ selected
386
+ $ invertedColoursUnsetCode = $ selected
387
387
? $ this ->style ->getInvertedColoursUnsetCode ()
388
388
: '' ;
389
389
@@ -393,18 +393,18 @@ protected function drawMenuItem(MenuItemInterface $item, bool $selected = false)
393
393
$ borderColour = '' ;
394
394
}
395
395
396
- return array_map (function ($ row ) use ($ invertedColour , $ notInvertedColour , $ borderColour ) {
396
+ return array_map (function ($ row ) use ($ invertedColoursSetCode , $ invertedColoursUnsetCode , $ borderColour ) {
397
397
return sprintf (
398
398
"%s%s%s%s%s%s%s%s%s%s%s%s \n" ,
399
399
str_repeat (' ' , $ this ->style ->getMargin ()),
400
400
$ borderColour ,
401
401
str_repeat (' ' , $ this ->style ->getBorderLeftWidth ()),
402
402
$ this ->style ->getColoursSetCode (),
403
- $ invertedColour ,
403
+ $ invertedColoursSetCode ,
404
404
str_repeat (' ' , $ this ->style ->getPadding ()),
405
405
$ row ,
406
406
str_repeat (' ' , $ this ->style ->getRightHandPadding (mb_strlen (s::stripAnsiEscapeSequence ($ row )))),
407
- $ notInvertedColour ,
407
+ $ invertedColoursUnsetCode ,
408
408
$ borderColour ,
409
409
str_repeat (' ' , $ this ->style ->getBorderRightWidth ()),
410
410
$ this ->style ->getColoursResetCode ()
0 commit comments