mirror of
https://github.com/Respect/Validation.git
synced 2026-03-17 15:50:03 +01:00
The argument "parameters" which is meant to give the wrapped rule's exception some extra information does not always need to be defined, for example when the exception does not need any parameter. The current version of "AbstractEnvelope" required that argument and the rules that are extending this class are passing an empty array. This commit will make the "parameters" argument optional. As an extra, it will make sure the tests from the children of "AbstractEnvelope" are also covering their parent. Signed-off-by: Henrique Moody <henriquemoody@gmail.com>
1 line
42 B
Text
Executable file
1 line
42 B
Text
Executable file
The content of this file is not important
|