We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Example: https://psalm.dev/r/a2b077f2e5 Comment of @weirdan: vimeo/psalm#2571 (comment)
The text was updated successfully, but these errors were encountered:
Hmm, so we need to add the @template T of int|string line to each static methods, but using the same template name (T) would generate a "Duplicate template param T in docblock for EnumInterface::get" so we need to use another name… this is a bit annoying :/
@template T of int|string
T
Sorry, something went wrong.
I think we don't need templates in static methods
i guess this is the cause of this psalm error: Argument 1 of USState::accepts expects Elao\Enum\T, string provided
Argument 1 of USState::accepts expects Elao\Enum\T, string provided
No branches or pull requests
Example: https://psalm.dev/r/a2b077f2e5
Comment of @weirdan: vimeo/psalm#2571 (comment)
The text was updated successfully, but these errors were encountered: