rectorphp / type-perfect

Next level type declaration check PHPStan rules
https://getrector.com/blog/introducing-type-perfect-for-extra-safety
MIT License
73 stars 3 forks source link

`NarrowReturnObjectTypeRule` is always enabled #12

Closed mitelg closed 2 months ago

mitelg commented 2 months ago

Hey :wave:

the rule NarrowReturnObjectTypeRule is always enabled, although it should be part of the narrow_param group, according to the config https://github.com/rectorphp/type-perfect/blob/main/config/extension.neon#L24C7-L27