Skip to content

Commit 065b1b5

Browse files
authored
Fix variable name
1 parent c86bd38 commit 065b1b5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/MenuStyle.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ public function setFg($fg, string $fallback = null) : self
257257
{
258258
$this->fg = ColourUtil::validateColour(
259259
$this->terminal,
260-
$colour,
260+
$fg,
261261
$fallback
262262
);
263263
$this->generateColoursSetCode();
@@ -274,7 +274,7 @@ public function setBg($bg, string $fallback = null) : self
274274
{
275275
$this->bg = ColourUtil::validateColour(
276276
$this->terminal,
277-
$colour,
277+
$bg,
278278
$fallback
279279
);
280280
$this->generateColoursSetCode();

0 commit comments

Comments
 (0)