fix dump on dynamic class
This commit is contained in:
parent
4436db4759
commit
820972556f
@ -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'=>'']);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user