Hey, i wave just made few changes in our code and making this change in like 60 places, wondering if we have already rector for it :-)
Diff
- /** @var ICache|null */
+ /** @var ICache */
private $cache;
- if ($this->cache) {
$this->cache->save($x);
- }
PHPStan link: https://phpstan.org/r/1d1026c1-ab7c-46e4-8146-17c052eb8dae
To show how real this issue is, check this (just part of) phpstan report:

Hey, i wave just made few changes in our code and making this change in like 60 places, wondering if we have already rector for it :-)
Diff
PHPStan link: https://phpstan.org/r/1d1026c1-ab7c-46e4-8146-17c052eb8dae
To show how real this issue is, check this (just part of) phpstan report:
