[OptionsResolver] Added documentation for requiring arrays of a certain type

| Q             | A
| ------------- | ---
| Doc fix?      | no
| New docs?  | yes
| Applies to | symfony/symfony#12255
| Fixed tickets | -