1 Commits
Author SHA1 Message Date
mcndave aca093dd97 - Fixed a bug with Union types within methods arguments 2023-02-07 16:50:16 +00:00
+1 -1
View File
@@ -167,7 +167,7 @@ class ObjectReflection {
$current = [
'name' => $method->getName(),
'type' => $method->hasReturnType() ? $method->getReturnType()->getName() : false,
'type' => $method->hasReturnType() && $method->getReturnType() instanceof \ReflectionNamedType ? $method->getReturnType()->getName() : false,
'constructor' => $method->isConstructor(),
'destructor' => $method->isDestructor(),
'parameters' => $parameters,