How to add custom class to get_avatar()

The get_avatar() function has many arguments, the last one is the interesting one, because you can pass additional classes, also described in the codex. So instead of

get_avatar( $comment, $args['avatar_size'] );

you could use

get_avatar( $comment, $args['avatar_size'], '', '', array('class' => 'myclass') );

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)