- Fixed a bug with Union types within methods arguments
This commit is contained in:
1 parent
0ba4fe3a51
commit
aca093dd97
1 file changed
+1
-1
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user