original_string: public function getAvatarUrl($email, $size = 80, $extension = 'jpg', $default = 404, $rating = 'g')
      {
          $url = 'https://www.gravatar.com/avatar/';
  
          $url .= md5(strtolower(trim($email))).'.'.$extension;
  
          $url .= '?'.http_build_query([
              'd' => $default,
              'r' => $rating,
              's' => $size,
          ]);
  
          return $url;
      }
code: public function getAvatarUrl($email, $size = 80, $extension = 'jpg', $default = 404, $rating = 'g')
      {
          $url = 'https://www.gravatar.com/avatar/';
  
          $url .= md5(strtolower(trim($email))).'.'.$extension;
  
          $url .= '?'.http_build_query([
              'd' => $default,
              'r' => $rating,
              's' => $size,
          ]);
  
          return $url;
      }
code_tokens: public function getAvatarUrl ( $ email , $ size = 80 , $ extension = 'jpg' , $ default = 404 , $ rating = 'g' ) { $ url = 'https://www.gravatar.com/avatar/' ; $ url .= md5 ( strtolower ( trim ( $ email ) ) ) . '.' . $ extension ; $ url .= '?' . http_build_query ( [ 'd' => $ default , 'r' => $ rating , 's' => $ size , ] ) ; return $ url ; }
docstring: Get user avatar image URL.
  
  @param string $email     User email.
  @param int    $size      Image size (default 80).
  @param string $extension Image extension (default jpg).
  @param int    $default   Error response (default 404).
  @param string $rating    Image rating (default G).
  
  @return string
docstring_tokens: Get user avatar image URL .