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

Support null cache driver #191

Merged
merged 1 commit into from
Sep 5, 2023
Merged

Support null cache driver #191

merged 1 commit into from
Sep 5, 2023

Conversation

VincentBean
Copy link
Contributor

When you set the following in your .env

CACHE_DRIVER=null

The \Spatie\Health\Checks\Checks\CacheCheck will fail because of the typehints.
config('cache.default', 'file') will return null and give an error as the typehint there is not nullable.

@freekmurze freekmurze merged commit c45c1cd into spatie:main Sep 5, 2023
0 of 6 checks passed
@freekmurze
Copy link
Member

Thanks!

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.

2 participants