original_string: public function getFieldByName($name)
      {
          foreach ($this->fields as $field) {
              if ($field->getName() == $name) {
                  return $field;
              }
          }
  
          return null;
      }
code: public function getFieldByName($name)
      {
          foreach ($this->fields as $field) {
              if ($field->getName() == $name) {
                  return $field;
              }
          }
  
          return null;
      }
code_tokens: public function getFieldByName ( $ name ) { foreach ( $ this -> fields as $ field ) { if ( $ field -> getName ( ) == $ name ) { return $ field ; } } return null ; }
docstring: Return a field by it's name. We will return null if it's not found.
  
  @param string $name
  @return AbstractFormField
docstring_tokens: Return a field by it s name . We will return null if it s not found .