Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor toArray method in Config class
The method has been revised to first assign its output to a variable and checking if `settings` is not empty before merging its array output to the result. This ensures the data returned is correct even when `settings` is empty.
- Loading branch information