From e86eb30f50133d7352e82c51eb8d8de4e37c57a0 Mon Sep 17 00:00:00 2001 From: Benjamin Morel Date: Fri, 30 Oct 2020 15:58:16 +0100 Subject: [PATCH] Add missing return type --- src/UnresolvedValueException.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/UnresolvedValueException.php b/src/UnresolvedValueException.php index 0e1d38b..c1de7f9 100644 --- a/src/UnresolvedValueException.php +++ b/src/UnresolvedValueException.php @@ -53,7 +53,7 @@ private static function getParameterName(\ReflectionParameter $parameter) : stri return $parameterType . '$' . $parameter->getName(); } - private static function getReflectionTypeName(\ReflectionType $reflectionType) + private static function getReflectionTypeName(\ReflectionType $reflectionType) : string { if ($reflectionType instanceof \ReflectionNamedType) { return $reflectionType->getName();