Skip to content

feat: Optionally only add types to interface methods - #3

Merged
acoulton merged 1 commit into
mainfrom
feat-interfaces-only
Apr 10, 2026
Merged

feat: Optionally only add types to interface methods#3
acoulton merged 1 commit into
mainfrom
feat-interfaces-only

Conversation

@acoulton

Copy link
Copy Markdown
Member

Often, it's worth starting by adding types to interfaces. In some cases this will allow Rector's in-built rules to then add suitable type declarations to classes that implement the interface. This reduces the risk of divergence between phpdoc tags at different layers of inheritance.

Often, it's worth starting by adding types to interfaces. In some cases
this will allow Rector's in-built rules to then add suitable type
declarations to classes that implement the interface. This reduces the
risk of divergence between phpdoc tags at different layers of
inheritance.
@acoulton
acoulton merged commit 1ffa9c1 into main Apr 10, 2026
3 checks passed
@acoulton
acoulton deleted the feat-interfaces-only branch April 10, 2026 09:19
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.

1 participant