[OptionsResolver] Fix links to api methods

| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?     | no
| Applies to    | all
| Fixed tickets | #4620
This was also wrong in older branches. Could you please create an additional pull request on the `2.3` branch fixing only this one?