[WCM] [Validator] Add documentation for digit constraint

| Q             | A
| ------------- | ---
| Doc fix?      | no
| New docs?     | yes (symfony/symfony#7862)
| Applies to    | 2.3+
| Fixed tickets | n/a