mirror of
https://github.com/Respect/Validation.git
synced 2024-06-26 09:10:08 +02:00
93e177a4c0
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>
2 lines
42 B
Plaintext
Executable file
2 lines
42 B
Plaintext
Executable file
The content of this file is not important
|