[ResourceBundle] The date type has been improved

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

`bool` to match Symfony CS, and adjust indent in phpdocs.