Skip to content

Commit

Permalink
Add missing return type
Browse files Browse the repository at this point in the history
  • Loading branch information
BenMorel committed Oct 30, 2020
1 parent 6737b24 commit e86eb30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/UnresolvedValueException.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit e86eb30

Please sign in to comment.