public function start_lvl(&$output, $depth = 0, $args = [])
    {
        $GLOBALS['comment_depth'] = $depth + 1;

        switch ($args['style']) {
            case 'div':
                break;
            case 'ol':
                $output .= '<ol class="children list-unstyled">'.PHP_EOL;
                break;
            case 'ul':
            default:
                $output .= '<ul class="children list-unstyled">'.PHP_EOL;
                break;
        }
    }
public function start_lvl(&$output, $depth = 0, $args = [])
    {
        $GLOBALS['comment_depth'] = $depth + 1;

        switch ($args['style']) {
            case 'div':
                break;
            case 'ol':
                $output .= '<ol class="children list-unstyled">'.PHP_EOL;
                break;
            case 'ul':
            default:
                $output .= '<ul class="children list-unstyled">'.PHP_EOL;
                break;
        }
    }
public function start_lvl ( & $ output , $ depth = 0 , $ args = [ ] ) { $ GLOBALS [ 'comment_depth' ] = $ depth + 1 ; switch ( $ args [ 'style' ] ) { case 'div' : break ; case 'ol' : $ output .= '<ol class="children list-unstyled">' . PHP_EOL ; break ; case 'ul' : default : $ output .= '<ul class="children list-unstyled">' . PHP_EOL ; break ; } }
Start the list before the elements are added.

@param string  $output Passed by reference; used to append additional content
@param integer $depth  Depth of comment
@param array   $args   Uses 'style' argument for type of HTML list
Start the list before the elements are added .