[Security] fixed wrong PHPDoc of the TokenGeneratorInterface
minor #10840 [Security] fixed wrong PHPDoc of the TokenGeneratorInterface (hhamon)

This PR was merged into the 2.4 branch.

Discussion
----------

[Security] fixed wrong PHPDoc of the TokenGeneratorInterface

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| License       | MIT

Commits
-------

0e32676 [Security] fixed wrong PHPDoc of the TokenGeneratorInterface