When i was using an InputFilter with a nested CollectionInputFilter i saw that this ValidationResult tries to use CollectionFilter::getName, which causes an error because the property $invalidInputs of the CollectionInputFilter can also return InputFilterInterface[]
however this ValidationResult only works if you get InputInterface[].
fortunately the index variable of this foreach always contains the name that is needed for this ValidationResult.
… get provided
When i was using an InputFilter with a nested CollectionInputFilter i saw that this ValidationResult tries to use CollectionFilter::getName, which causes an error because the property $invalidInputs of the CollectionInputFilter can also return InputFilterInterface[]
however this ValidationResult only works if you get InputInterface[]. fortunately the index variable of this foreach always contains the name that is needed for this ValidationResult.
the interfaces dont seem to fit together perfectly, see https://github.com/laminas/laminas-inputfilter/issues/22 by func0der