Skip to content

Comments

Fix return on SimplifyIfElseWithSameContentRector#7064

Merged
samsonasik merged 1 commit intomainfrom
fix-return
Jul 14, 2025
Merged

Fix return on SimplifyIfElseWithSameContentRector#7064
samsonasik merged 1 commit intomainfrom
fix-return

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
@github-actions
Copy link
Contributor

This pull request has been automatically locked because it has been closed for 150 days. Please open a new PR if you want to continue the work.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 14, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

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