original_string: public function clear(Config $means, Config $target)
      {
          foreach ($target as $key => $value) {
              if ($value instanceof BaseConfig && isset($means[$key])) {
                  $this->clear($means[$key], $value);
              } else {
                  if (isset($means[$key])) {
                      $target->offsetUnset($key);
                  }
              }
          }
  
          return new BaseConfig($target->toArray());
      }
code: public function clear(Config $means, Config $target)
      {
          foreach ($target as $key => $value) {
              if ($value instanceof BaseConfig && isset($means[$key])) {
                  $this->clear($means[$key], $value);
              } else {
                  if (isset($means[$key])) {
                      $target->offsetUnset($key);
                  }
              }
          }
  
          return new BaseConfig($target->toArray());
      }
code_tokens: public function clear ( Config $ means , Config $ target ) { foreach ( $ target as $ key => $ value ) { if ( $ value instanceof BaseConfig && isset ( $ means [ $ key ] ) ) { $ this -> clear ( $ means [ $ key ] , $ value ) ; } else { if ( isset ( $ means [ $ key ] ) ) { $ target -> offsetUnset ( $ key ) ; } } } return new BaseConfig ( $ target -> toArray ( ) ) ; }
docstring: Delete variables that are already defined in the main configuration file
  
  @param Config $means Main configuration file
  @param Config $target Imported configuration file
  @return Config
docstring_tokens: Delete variables that are already defined in the main configuration file