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

extend cache interface with throwable for v1.x.x #29

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Zrnik
Copy link

@Zrnik Zrnik commented Oct 28, 2022

Hello, can you please release this fix as 1.0.2?

This is a fix for PHP 7.4

Static analysators (PHPStan) returns error for @throws doc that Psr\SimpleCache\InvalidArgumentException is not subtype of Throwable

This issue is already fixed in v2 and v3, but they are also using union types, which breaks PHP 7.4

(unfortunately updating project to 8.0+ is not under my control)

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.

1 participant