Replies: 1 comment
-
Hey, we don't provide these rules, as array docblocks lead to false positive types and invalid code. The best way would be to create your own custom ruleset with linked rule 👍 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I'm looking for a replacement of
AddArrayReturnDocTypeRector
which was removed in rectorphp/rector-src#3350something like https://getrector.com/rule-detail/add-return-type-declaration-from-yields-rector but for arrays :)
thanks!
Beta Was this translation helpful? Give feedback.
All reactions