diff --git a/reference/reflection/reflectionenum/getbackingtype.xml b/reference/reflection/reflectionenum/getbackingtype.xml index 40a7cb400c02..8977286c7699 100644 --- a/reference/reflection/reflectionenum/getbackingtype.xml +++ b/reference/reflection/reflectionenum/getbackingtype.xml @@ -8,12 +8,12 @@ &reftitle.description; - public ReflectionTypenullReflectionEnum::getBackingType + public ReflectionNamedTypenullReflectionEnum::getBackingType If the enumeration is a Backed Enum, this method will return an instance - of ReflectionType for the backing type of the Enum. + of ReflectionNamedType for the backing type of the Enum. If it is not a Backed Enum, it will return null. @@ -27,11 +27,32 @@ &reftitle.returnvalues; - An instance of ReflectionType, or null + An instance of ReflectionNamedType, or null if the Enum has no backing type. - + + &reftitle.changelog; + + + + + &Version; + &Description; + + + + + 8.2.0 + + The declared return type was narrowed to ReflectionNamedType + from ReflectionType. + + + + + + &reftitle.examples; @@ -65,7 +86,7 @@ string(6) "string" - + &reftitle.seealso;