original_string: protected function overwriteExistingField($name)
      {
          if ($this->fields->isEmpty()) {
              return;
          }
  
          $this->fields = $this->fields->filter(
              function (Field $field) use ($name) {
                  return $field->getName() != $name;
              }
          );
      }
code: protected function overwriteExistingField($name)
      {
          if ($this->fields->isEmpty()) {
              return;
          }
  
          $this->fields = $this->fields->filter(
              function (Field $field) use ($name) {
                  return $field->getName() != $name;
              }
          );
      }
code_tokens: protected function overwriteExistingField ( $ name ) { if ( $ this -> fields -> isEmpty ( ) ) { return ; } $ this -> fields = $ this -> fields -> filter ( function ( Field $ field ) use ( $ name ) { return $ field -> getName ( ) != $ name ; } ) ; }
docstring: Overwrite existing field.
  
  @param string $name
docstring_tokens: Overwrite existing field .