original_string: private function formatArguments($arguments)
      {
          $result = [];
          foreach ($arguments as $key => $argument) {
              if (is_object($argument)) {
                  $result[$key] = get_class($argument);
                  continue;
              }
  
              if (is_array($argument)) {
                  $result[$key] = $this->formatArguments($argument);
                  continue;
              }
  
              $result[$key] = $argument;
          }
  
          return $result;
      }
code: private function formatArguments($arguments)
      {
          $result = [];
          foreach ($arguments as $key => $argument) {
              if (is_object($argument)) {
                  $result[$key] = get_class($argument);
                  continue;
              }
  
              if (is_array($argument)) {
                  $result[$key] = $this->formatArguments($argument);
                  continue;
              }
  
              $result[$key] = $argument;
          }
  
          return $result;
      }
code_tokens: private function formatArguments ( $ arguments ) { $ result = [ ] ; foreach ( $ arguments as $ key => $ argument ) { if ( is_object ( $ argument ) ) { $ result [ $ key ] = get_class ( $ argument ) ; continue ; } if ( is_array ( $ argument ) ) { $ result [ $ key ] = $ this -> formatArguments ( $ argument ) ; continue ; } $ result [ $ key ] = $ argument ; } return $ result ; }
docstring: Reformat an argument list.
  
  @param array $arguments The arguments to reformat.
  
  @return mixed
docstring_tokens: Reformat an argument list .