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

ClosureToArrowFunctionRector drops the docblock on return #6916

Closed
weirdan opened this issue Jan 5, 2022 · 0 comments · Fixed by rectorphp/rector-src#1677
Closed

ClosureToArrowFunctionRector drops the docblock on return #6916

weirdan opened this issue Jan 5, 2022 · 0 comments · Fixed by rectorphp/rector-src#1677
Labels

Comments

@weirdan
Copy link

weirdan commented Jan 5, 2022

Bug Report

Subject Details
Rector version Rector fee8a47

ClosureToArrowFunctionRector drops the docblock on return.

Minimal PHP Code Causing Issue

https://getrector.org/demo/1ec6e7f1-7c0f-684e-9843-a7cd56252edf
rectorphp/rector-src#1641

Expected Behaviour

The docblock should be kept.

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