original_string: protected function fixData($uri, $title)
      {
          $liAttr = [];
          if (is_int($uri)) {
              $uri = '#';
          }
          if (is_array($title)) {
              $liAttr = $title;
              $title = array_shift($liAttr);
          }
          return [$title, $uri, $liAttr];
      }
code: protected function fixData($uri, $title)
      {
          $liAttr = [];
          if (is_int($uri)) {
              $uri = '#';
          }
          if (is_array($title)) {
              $liAttr = $title;
              $title = array_shift($liAttr);
          }
          return [$title, $uri, $liAttr];
      }
code_tokens: protected function fixData ( $ uri , $ title ) { $ liAttr = [ ] ; if ( is_int ( $ uri ) ) { $ uri = '#' ; } if ( is_array ( $ title ) ) { $ liAttr = $ title ; $ title = array_shift ( $ liAttr ) ; } return [ $ title , $ uri , $ liAttr ] ; }
docstring: fixes item data
  
  @param mixed $uri   uri of item or numeric key
  @param mixed $title title of item or array of title and li attrs
  
  @return array
  
  @access protected
docstring_tokens: fixes item data