Skip to content

Commit d8141c0

Browse files
committed
ComponentReflection: uses ReflectionNamedType
1 parent bea304e commit d8141c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Application/UI/ComponentReflection.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ public static function parseAnnotation(\Reflector $ref, string $name): ?array
246246
public static function getParameterType(\ReflectionParameter $param): array
247247
{
248248
return $param->hasType()
249-
? [(string) $param->getType(), !$param->getType()->isBuiltin()]
249+
? [$param->getType()->getName(), !$param->getType()->isBuiltin()]
250250
: [gettype($param->isDefaultValueAvailable() ? $param->getDefaultValue() : null), false];
251251
}
252252

0 commit comments

Comments
 (0)