Skip to content

[TypeDeclaration] Skip param already typed on AddMethodCallBasedStrictParamTypeRector#7176

Merged
samsonasik merged 2 commits intomainfrom
skip-already-param-typed
Aug 26, 2025
Merged

[TypeDeclaration] Skip param already typed on AddMethodCallBasedStrictParamTypeRector#7176
samsonasik merged 2 commits intomainfrom
skip-already-param-typed

Conversation

@samsonasik
Copy link
Member

@calebdw ref #7172 (comment)

I think the safest way is check if param already typed, then skip.

@samsonasik
Copy link
Member Author

All checks have passed 🎉 @TomasVotruba I am merging it ;)

@samsonasik samsonasik enabled auto-merge (squash) August 26, 2025 09:51
@samsonasik samsonasik merged commit f1e8eba into main Aug 26, 2025
49 checks passed
@samsonasik samsonasik deleted the skip-already-param-typed branch August 26, 2025 09:52
@calebdw
Copy link
Contributor

calebdw commented Aug 26, 2025

@samsonasik, yes this was my first thought that already typed params should not be replaced 👍

@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 Jan 25, 2026
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.

3 participants