From 0bc5b81561c355b68aaa05ac0a9a0b6908cdde85 Mon Sep 17 00:00:00 2001 From: Declspeck Date: Thu, 15 Feb 2018 23:13:04 +0200 Subject: [PATCH] fix(completion): Return type hint --- src/FqnUtilities.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FqnUtilities.php b/src/FqnUtilities.php index 21f75cb..5b3d523 100644 --- a/src/FqnUtilities.php +++ b/src/FqnUtilities.php @@ -41,7 +41,7 @@ function getFqnsFromType($type): array * * @return string */ -function nameGetParent(string $name): ?string +function nameGetParent(string $name): string { if ($name === '') { // Special-case handling for the root namespace. return '';