fix dump on dynamic class

This commit is contained in:
Jean-Christian Paul Denis 2023-04-29 10:47:37 +02:00
parent 95b3b1702e
commit 2ca50ae98a
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951
2 changed files with 2 additions and 2 deletions

View File

@ -57,6 +57,6 @@ class ActionDescriptor
*/
public function dump(): array
{
return get_class_vars(__CLASS__) ?: [];
return get_object_vars($this);
}
}

View File

@ -43,6 +43,6 @@ class ValueDescriptor
*/
public function dump(): array
{
return get_class_vars(__CLASS__) ?: [];
return get_object_vars($this);
}
}