\OC_User::getDisplayName($userId) deprecated/ remove

Hi,

I am in the process of migrating my app to NextCloud 21. I noticed that the function “\OC_User::getDisplayName()” no longer exists. Which function has replaced it?
I want to convert the user ID into the display name.