- Some bugfixes linked to attributes

This commit is contained in:
mcndave committed 2023-07-09 12:41:36 -04:00
1 parent 7c7d8c9d8d
commit dd0f0271a6
3 files changed
+13 -6

No files matched your search

+3 -1
View File
@@ -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(),