getNotificationCategoriesWithCompletionHandler parameter value

Hi! I could be missing something here, but in the docs for getNotificationCategoriesWithCompletionHandler , it states:

categories
The set of UNNotificationCategory objects containing your registered notification types. If your app has not yet registered any categories, this parameter is an empty set.

But if I haven't set any categories yet, the categories parameter is NULL, not an empty set. Not sure if this is possible docs bug or implementation bug

getNotificationCategoriesWithCompletionHandler parameter value
 
 
Q