Type hint $descriptor arg in DescriptorHelper::register()