original_string: public function end_lvl(&$output, $depth = 0, $args = [])
      {
          $tab = '    ';
          $indent = ($depth == 1) ? 8 + $depth : 7 + ($depth * 2);
  
          switch ($args['style']) {
              case 'div':
                  break;
              case 'ol':
              case 'ul':
              default:
                  $output .= str_repeat($tab, $indent);
                  break;
          }
  
          parent::end_lvl($output, $depth, $args);
      }
code: public function end_lvl(&$output, $depth = 0, $args = [])
      {
          $tab = '    ';
          $indent = ($depth == 1) ? 8 + $depth : 7 + ($depth * 2);
  
          switch ($args['style']) {
              case 'div':
                  break;
              case 'ol':
              case 'ul':
              default:
                  $output .= str_repeat($tab, $indent);
                  break;
          }
  
          parent::end_lvl($output, $depth, $args);
      }
code_tokens: public function end_lvl ( & $ output , $ depth = 0 , $ args = [ ] ) { $ tab = '    ' ; $ indent = ( $ depth == 1 ) ? 8 + $ depth : 7 + ( $ depth * 2 ) ; switch ( $ args [ 'style' ] ) { case 'div' : break ; case 'ol' : case 'ul' : default : $ output .= str_repeat ( $ tab , $ indent ) ; break ; } parent :: end_lvl ( $ output , $ depth , $ args ) ; }
docstring: End the list of items after the elements are added.
  
  @param string  $output Passed by reference; used to append additional content
  @param integer $depth  Depth of comment
  @param array   $args   Will only append content if style argument value is 'ol' or 'ul'
docstring_tokens: End the list of items after the elements are added .