Added return type PHPDoc to getProfile