Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix annotation for phpstan #8869

Closed
wants to merge 1 commit into from
Closed

Fix annotation for phpstan #8869

wants to merge 1 commit into from

Conversation

VincentLanglet
Copy link
Contributor

@VincentLanglet VincentLanglet commented Jul 30, 2021

Phpstan doesn't support string|class-string
Since the string part will be deprecated, it's
better to keep the part with the template. There
is a test for this, but it only works when phpstan
will reach level 7.

Phpstan doesn't support string|class-string<T>
Since the string part will be deprecated, it's
better to keep the part with the template. There
is a test for this, but it only works when phpstan
will reach level 7.
@VincentLanglet VincentLanglet changed the title Failing tests Fix annotation for phpstan Jul 30, 2021
@VincentLanglet VincentLanglet deleted the removeAliasFromInterface branch July 30, 2021 15:33
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.

None yet

1 participant