Skip to content

Fix ParamTypeByMethodCallTypeRector#6803

Merged
samsonasik merged 1 commit intorectorphp:mainfrom
carlos-granados:fix-ParamTypeByMethodCallTypeRector
Mar 21, 2025
Merged

Fix ParamTypeByMethodCallTypeRector#6803
samsonasik merged 1 commit intorectorphp:mainfrom
carlos-granados:fix-ParamTypeByMethodCallTypeRector

Conversation

@carlos-granados
Copy link
Copy Markdown
Contributor

@carlos-granados carlos-granados commented Mar 21, 2025

Derived from #6794


if ($paramNodeType instanceof Node) {
$param->type = $paramNodeType;
$hasChanged = true;
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only need to set this as changed if we actually change the parameter type

@samsonasik samsonasik merged commit 9939bd2 into rectorphp:main Mar 21, 2025
44 checks passed
@samsonasik
Copy link
Copy Markdown
Member

Thank you @carlos-granados

@carlos-granados carlos-granados deleted the fix-ParamTypeByMethodCallTypeRector branch March 21, 2025 14:19
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Dec 1, 2025

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 1, 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.

2 participants