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

ReturnTypeFromStrictNewArrayRector: missing array return type #8183

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

ReturnTypeFromStrictNewArrayRector: missing array return type #8183

staabm opened this issue Sep 6, 2023 · 0 comments · Fixed by rectorphp/rector-src#4922
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/6bd82a17-459a-4535-a738-dc1603f1389d

Expected Behaviour

I think ReturnTypeFromStrictNewArrayRector 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