Skip to content

Fix return on SimplifyIfElseWithSameContentRector #7064

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

Merged
merged 1 commit into from
Jul 14, 2025
Merged

Conversation

samsonasik
Copy link
Member

@samsonasik samsonasik commented Jul 14, 2025

This is hotfix for rectorphp/rector@36d3ae4

the @return seems need to match with native return type. For now, this patch can handle it.

Closes rectorphp/rector#9259

@samsonasik
Copy link
Member Author

@phinor this should fix rectorphp/rector#9259

I will lookup on real patch for it while temporary use it.

@samsonasik samsonasik enabled auto-merge (squash) July 14, 2025 09:47
@samsonasik samsonasik merged commit 2dd53cf into main Jul 14, 2025
47 checks passed
@samsonasik samsonasik deleted the fix-return branch July 14, 2025 09:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

System error: Array of nodes annot be empty
1 participant