(PHP 7, PHP 8)
The ReflectionType class reports information about a function's parameter/return type or a class's property type. The Reflection extension declares the following subtypes: