- Some bugfixes linked to attributes
This commit is contained in:
1 parent
7c7d8c9d8d
commit
dd0f0271a6
3 files changed
+13
-6
No files matched your search
@@ -136,7 +136,8 @@ class ObjectReflection {
|
||||
ReflectionMethod::IS_PUBLIC |
|
||||
ReflectionMethod::IS_PROTECTED |
|
||||
ReflectionMethod::IS_PRIVATE |
|
||||
ReflectionMethod::IS_STATIC
|
||||
ReflectionMethod::IS_STATIC |
|
||||
ReflectionMethod::IS_FINAL
|
||||
) : array
|
||||
{
|
||||
$list = [];
|
||||
@@ -168,6 +169,7 @@ class ObjectReflection {
|
||||
|
||||
$current = [
|
||||
'name' => $method->getName(),
|
||||
'classname' => $method->class,
|
||||
'type' => $method->hasReturnType() && $method->getReturnType() instanceof \ReflectionNamedType ? $method->getReturnType()->getName() : false,
|
||||
'constructor' => $method->isConstructor(),
|
||||
'destructor' => $method->isDestructor(),
|
||||
|
||||
Reference in new issue
Block a user