Open shadik42 opened 6 years ago
What's about to save a zero 0? It's rather common case of setting. It will not pass throw empty()
Correct, and if zero provided as string value this code just skip trying of json_decode value. After that the value is saved as a string.
But is 0
currently saved a object?
No, 0
saved with string
type
Pull request for issue https://github.com/phemellc/yii2-settings/issues/75