fix dump on dynamic class

This commit is contained in:
Jean-Christian Paul Denis 2023-04-29 10:50:58 +02:00
parent 4436db4759
commit 820972556f
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951

View File

@ -107,6 +107,6 @@ class Settings
*/ */
public function listSettings(): array public function listSettings(): array
{ {
return array_keys(get_class_vars(Settings::class)); return array_diff_key(get_object_vars($this), ['settings'=>'']);
} }
} }