Bug Report
| Subject |
Details |
| Rector version |
e.g. v2.2.10 (invoke vendor/bin/rector --version) |
Minimal PHP Code Causing Issue
https://getrector.com/demo/c43e917d-7f01-44c0-b43f-426f51ec938c
Expected Behaviour
No changes in the return type of Vhost\Healthz::handle. My expectation here was that Rector would respect the return type and anyone call that method should care about how I get to my return value, only that it implements that interface.
P.S. Not sure how much of this relates to #9489