Skip to content

CacheInterface->get returns mixed #235

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

Closed
YspMark opened this issue Jan 17, 2022 · 1 comment · Fixed by #236
Closed

CacheInterface->get returns mixed #235

YspMark opened this issue Jan 17, 2022 · 1 comment · Fixed by #236

Comments

@YspMark
Copy link
Contributor

YspMark commented Jan 17, 2022

The CacheInterface get method is by default hinted with the mixed return type. The callback parameter return will be the cache item, so that return type could be used to determine the right return type.

@github-actions
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 19, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant