Skip to content

0.4.2

Compare
Choose a tag to compare
@tamagokun tamagokun released this 29 Jan 21:29
· 23 commits to master since this release

Fixed a bug regarding setting variables:

If an environment setting is an array, and you update that setting with another array, those two arrays will be merged together. The main reasoning for this is so that setting options can have defaults. This is super helpful for plugins.

There was a minor bug where if you updated a setting using something like $env->setting(array(...)); it would actually overwrite the array rather than merging it because it wasn't using __set() but setting the value on config itself.