minor #4785 Improve static analysis (enumag)
This PR was merged into the 2.15 branch.
Discussion
----------
Improve static analysis
In my project I implemented a custom fixer. When scanning the project with the latest phpstan I'm getting errors like this:
```
Method App\Module\Core\PhpCsFixer\MyCustomFixer::isCandidate() has parameter $tokens with no value type specified in iterable type PhpCsFixer\Tokenizer\Tokens.
```
The correct fix for this is to make phpstan aware that the `Tokens` class only contains `Token` instances using this annotation.
Commits
-------
00d90cfe Improve static analysis