Fix wrong method name in documentation for setPrettyName

The method name is wrong, it is just a small PR to fix it. ;)