Skip to content

Conversation

sethsandaru
Copy link
Contributor

From the previous PR #56459, it gave the second parameter of $handler a wrong type; it should be a QueryExecuted instance, not a class-string

Docs: https://laravel.com/docs/12.x/database#monitoring-cumulative-query-time

This also fixes an issue from phpstan:

image

@taylorotwell taylorotwell merged commit 673e300 into laravel:12.x Sep 10, 2025
65 checks passed
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