original_string: public static function validateEmail($email)
      {
          $email = trim($email);
  
          if (false === filter_var($email, FILTER_VALIDATE_EMAIL)) {
              throw new \InvalidArgumentException(sprintf('The Email "%s" is invalid.', $email));
          }
  
          return $email;
      }
code: public static function validateEmail($email)
      {
          $email = trim($email);
  
          if (false === filter_var($email, FILTER_VALIDATE_EMAIL)) {
              throw new \InvalidArgumentException(sprintf('The Email "%s" is invalid.', $email));
          }
  
          return $email;
      }
code_tokens: public static function validateEmail ( $ email ) { $ email = trim ( $ email ) ; if ( false === filter_var ( $ email , FILTER_VALIDATE_EMAIL ) ) { throw new \ InvalidArgumentException ( sprintf ( 'The Email "%s" is invalid.' , $ email ) ) ; } return $ email ; }
docstring: Validator for a Email.
  
  @param string $email
  
  @return string
docstring_tokens: Validator for a Email .