Bug report
Broken since the last/2.1.31 release.
In the repro, the StreamInterface is defined in 3rd partyclass. In the child/our class, the @throws must not be checked.
Code snippet that reproduces the problem
https://phpstan.org/r/27528123-d51b-4dca-9ef7-f7bd6681c4a7
Expected output
no phpstan error