Merge branch 'master' of https://git.mcnd.ca/mcndave/notes into attributes
This commit is contained in:
commit
564a05a1d4
|
@ -168,7 +168,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,
|
||||
|
|
Loading…
Reference in New Issue