Skip to content

[9.x] Fix event:list command #40528

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

Merged
merged 1 commit into from
Jan 21, 2022
Merged

Conversation

imanghafoori1
Copy link
Contributor

@imanghafoori1 imanghafoori1 commented Jan 21, 2022

According to the issue reported as a comment on the pull request: #35037 (comment)

The event:list command can not list listeners which are in the form of arrays. [object, 'method'] or ["class", "method"]

Currently, on a fresh laravel 9 installation the event:list can only print 4, with this change it will discover 8

Before

image

After

image

(cherry picked from commit 96eb367)
(cherry picked from commit 42927f4)
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