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

Make TLiteralInt::$value typed #9516

Closed
weirdan opened this issue Mar 15, 2023 · 2 comments · Fixed by #9517
Closed

Make TLiteralInt::$value typed #9516

weirdan opened this issue Mar 15, 2023 · 2 comments · Fixed by #9517

Comments

@weirdan
Copy link
Collaborator

weirdan commented Mar 15, 2023

Refs #9499 (comment)

This should be a safe and backwards-compatible change because:

  1. The class is final.
  2. The class is immutable.
@psalm-github-bot

This comment was marked as off-topic.

@weirdan
Copy link
Collaborator Author

weirdan commented Mar 15, 2023

And while we're at it, we could make TLiteralFloat::$value typed as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant