original_string: public function removeConfig(ConfigInterface $config) {
  
          // If collection is in merge mode, don't permit removing configs (cannot unmerge)
          if ($this->merge) {
              throw new Exception("Cannot remove configs from merged collection.");
          }
  
          $this->configs->detach($config);
  
          return $this;
      }
code: public function removeConfig(ConfigInterface $config) {
  
          // If collection is in merge mode, don't permit removing configs (cannot unmerge)
          if ($this->merge) {
              throw new Exception("Cannot remove configs from merged collection.");
          }
  
          $this->configs->detach($config);
  
          return $this;
      }
code_tokens: public function removeConfig ( ConfigInterface $ config ) { // If collection is in merge mode, don't permit removing configs (cannot unmerge) if ( $ this -> merge ) { throw new Exception ( "Cannot remove configs from merged collection." ) ; } $ this -> configs -> detach ( $ config ) ; return $ this ; }
docstring: Remove ConfigInterface object from collection
  
  @param \Kaecyra\AppCommon\ConfigInterface $config
  @return ConfigCollection
docstring_tokens: Remove ConfigInterface object from collection