fix dump on dynamic class
This commit is contained in:
parent
95b3b1702e
commit
2ca50ae98a
@ -57,6 +57,6 @@ class ActionDescriptor
|
||||
*/
|
||||
public function dump(): array
|
||||
{
|
||||
return get_class_vars(__CLASS__) ?: [];
|
||||
return get_object_vars($this);
|
||||
}
|
||||
}
|
||||
|
@ -43,6 +43,6 @@ class ValueDescriptor
|
||||
*/
|
||||
public function dump(): array
|
||||
{
|
||||
return get_class_vars(__CLASS__) ?: [];
|
||||
return get_object_vars($this);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user