1
0
mirror of https://github.com/flarum/core.git synced 2025-10-19 10:46:06 +02:00

fire -> dispatch

As per Illuminate\Contracts\Events\Dispatcher
This commit is contained in:
Toby Zerner
2018-02-10 12:09:35 +10:30
parent aff1b9a5e4
commit 160493e725
31 changed files with 42 additions and 42 deletions

View File

@@ -51,7 +51,7 @@ class DeleteDiscussionHandler
$this->assertCan($actor, 'delete', $discussion);
$this->events->fire(
$this->events->dispatch(
new Deleting($discussion, $actor, $command->data)
);