Open christian-hawk opened 2 years ago
Right now the configuration validator is returning the configuration data if data is valid. This is not validator responsability.
validate() should be void (return nothing if success, throw error if invalid) or a boolean if valid (in that case name should be isValid).
isValid
Right now the configuration validator is returning the configuration data if data is valid. This is not validator responsability.
validate() should be void (return nothing if success, throw error if invalid) or a boolean if valid (in that case name should be
isValid
).