public function ok(string $text, array $style = []): string
    {
        return $this->line($text, ['fg' => static::GREEN] + $style);
    }
public function ok(string $text, array $style = []): string
    {
        return $this->line($text, ['fg' => static::GREEN] + $style);
    }
public function ok ( string $ text , array $ style = [ ] ) : string { return $ this -> line ( $ text , [ 'fg' => static :: GREEN ] + $ style ) ; }
Returns a line formatted as ok msg.

@param string $text
@param array  $style

@return string
Returns a line formatted as ok msg .