src/Valkyrja/Console/Output/NativeOutputFormatter.php
public function setForeground(FormatForeground $foreground = null): void
    {
        if (null === $foreground) {
            $this->foreground = null;

            return;
        }

        $this->foreground = $foreground->getValue();
    }
public function setForeground(FormatForeground $foreground = null): void
    {
        if (null === $foreground) {
            $this->foreground = null;

            return;
        }

        $this->foreground = $foreground->getValue();
    }
Set the foreground.

@param FormatForeground $foreground The foreground color

@return void