original_string: public function process(NodeInterface $configTree, array $configs)
      {
          $currentConfig = [];
          foreach ($configs as $config) {
              $config = $configTree->normalize($config);
              $currentConfig = $configTree->merge($currentConfig, $config);
          }
  
          return $configTree->finalize($currentConfig);
      }
code: public function process(NodeInterface $configTree, array $configs)
      {
          $currentConfig = [];
          foreach ($configs as $config) {
              $config = $configTree->normalize($config);
              $currentConfig = $configTree->merge($currentConfig, $config);
          }
  
          return $configTree->finalize($currentConfig);
      }
code_tokens: public function process ( NodeInterface $ configTree , array $ configs ) { $ currentConfig = [ ] ; foreach ( $ configs as $ config ) { $ config = $ configTree -> normalize ( $ config ) ; $ currentConfig = $ configTree -> merge ( $ currentConfig , $ config ) ; } return $ configTree -> finalize ( $ currentConfig ) ; }
docstring: Processes an array of configurations.
  
  @param NodeInterface $configTree The node tree describing the configuration
  @param array         $configs    An array of configuration items to process
  
  @return array The processed configuration
docstring_tokens: Processes an array of configurations .