original_string: private function preserveOldArgFormat(array $args)
      {
          if (isset($args[0]) && !is_array($args[0])) {
              $args = [$args];
          } elseif (empty($args)) {
              $args = [[]];
          }
  
          return $args;
      }
code: private function preserveOldArgFormat(array $args)
      {
          if (isset($args[0]) && !is_array($args[0])) {
              $args = [$args];
          } elseif (empty($args)) {
              $args = [[]];
          }
  
          return $args;
      }
code_tokens: private function preserveOldArgFormat ( array $ args ) { if ( isset ( $ args [ 0 ] ) && ! is_array ( $ args [ 0 ] ) ) { $ args = [ $ args ] ; } elseif ( empty ( $ args ) ) { $ args = [ [ ] ] ; } return $ args ; }
docstring: BC - getArgs only returned 1 set of args in v1 instead of multiple sets of args in v2
  
  @param array $args
  @return array
docstring_tokens: BC - getArgs only returned 1 set of args in v1 instead of multiple sets of args in v2