diff --git a/src/Utils/Reflection.php b/src/Utils/Reflection.php index 6313e3abc..3a3821554 100644 --- a/src/Utils/Reflection.php +++ b/src/Utils/Reflection.php @@ -79,8 +79,7 @@ public static function getPropertyType(\ReflectionProperty $prop): ?Type /** - * Returns the default value of parameter. If it is a constant, it returns its value. - * @throws \ReflectionException If the parameter does not have a default value or the constant cannot be resolved + * @deprecated use ReflectionParameter::getDefaultValue() */ public static function getParameterDefaultValue(\ReflectionParameter $param): mixed {