hasValue returns true for ArrayInputs whether or not a value was provided via InputFilter::setData(). This can't be the expected behavior of this function.
However, i had to refactor the existing test BaseInputFilterTest::testPopulateSupportsArrayInputEvenIfDataMissing. I don't know the implications regarding BC because neither the docblock nor the commit message provided a useful use-case for this test-method.
hasValue
returns true for ArrayInputs whether or not a value was provided viaInputFilter::setData()
. This can't be the expected behavior of this function.However, i had to refactor the existing test
BaseInputFilterTest::testPopulateSupportsArrayInputEvenIfDataMissing
. I don't know the implications regarding BC because neither the docblock nor the commit message provided a useful use-case for this test-method.Feedback is very welcome.
Thank you for considering my pull request.