Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing return type #8186

Closed
staabm opened this issue Sep 6, 2023 · 0 comments · Fixed by rectorphp/rector-src#4929
Closed

Missing return type #8186

staabm opened this issue Sep 6, 2023 · 0 comments · Fixed by rectorphp/rector-src#4929
Labels

Comments

@staabm
Copy link
Contributor

staabm commented Sep 6, 2023

Bug Report

Subject Details
Rector version e.g. v0.11.5 (invoke vendor/bin/rector --version)

Minimal PHP Code Causing Issue

https://getrector.com/demo/c994813e-68d1-44eb-9a5b-8e38be0071e7

Expected Behaviour

I think one of the rules in \Rector\Set\ValueObject\SetList::TYPE_DECLARATION should be able to infer a array return type

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
1 participant