- 🇨🇭Switzerland berdir Switzerland
No need to check $config, that is defined and exists. If you get this error your config is invalid but fine to add that. However, an array cast with the foreach call should suffice and is a single-line change instead of having to further intent everything.