add some minor interpunction fixes for consistency

| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?     | no
| Applies to    | all
| Fixed tickets | 

This is related to a discussion in https://github.com/symfony/symfony-docs/pull/2214 and https://github.com/symfony/symfony-docs/issues/2042