Skip to content

Comments

Fix 'ClassName@method' Event handler format.#116

Merged
LukeTowers merged 2 commits intodevelopfrom
fix-dispatcher
Sep 21, 2022
Merged

Fix 'ClassName@method' Event handler format.#116
LukeTowers merged 2 commits intodevelopfrom
fix-dispatcher

Conversation

@mjauvin
Copy link
Member

@mjauvin mjauvin commented Sep 21, 2022

Fix for Event::listen('event-name', 'ClassName@method') in L9 when ClassName is not fully qualified but has been bound to the App with $this->app->bind('ClassName', \Path\To\ClassName::class);

We should submit a PR to Laravel for this, overriding in Storm in the meantime.

@mjauvin mjauvin added this to the 1.2.1 milestone Sep 21, 2022
@mjauvin mjauvin self-assigned this Sep 21, 2022
@LukeTowers LukeTowers merged commit a5e1980 into develop Sep 21, 2022
@LukeTowers LukeTowers deleted the fix-dispatcher branch September 21, 2022 16:25
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