Skip to content

Simplify TemplateTypeTrait#1705

Merged
ondrejmirtes merged 1 commit intophpstan:1.8.xfrom
rvanvelzen:simplify-template-type
Sep 6, 2022
Merged

Simplify TemplateTypeTrait#1705
ondrejmirtes merged 1 commit intophpstan:1.8.xfrom
rvanvelzen:simplify-template-type

Conversation

@rvanvelzen
Copy link
Copy Markdown
Contributor

No description provided.

@ondrejmirtes
Copy link
Copy Markdown
Member

Really nice, thank you!

BTW Have you seen this discussion? #1634 (comment)

Given the proposed refactorings, in the future there could be just a single TemplateType class, and all bound types would be supported automatically. But we have to stop relying on inheritance first 😊

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.

2 participants