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 '';