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

[11.x] Fix event dispatcher typing in cache repository #51835

Merged
merged 1 commit into from
Jun 19, 2024

Conversation

axlon
Copy link
Contributor

@axlon axlon commented Jun 19, 2024

The cache repository supports not having an event dispatcher, in which case it would be set to null. But the typings currently don't reflect this.

Example:

if (! is_null($this->events)) {

@taylorotwell taylorotwell merged commit 89eea48 into laravel:11.x Jun 19, 2024
30 checks passed
@axlon axlon deleted the cache-event-dispatcher-type branch June 19, 2024 15:53
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