1
0
mirror of https://github.com/flarum/core.git synced 2025-10-12 23:44:27 +02:00

Laravel: Stop calling deprecated fire() method

This has been deprecated and removed from the contract for a long time,
and it will be completely dropped in v5.8, our next upgrade target.
This commit is contained in:
Franz Liedke
2020-03-28 01:27:55 +01:00
parent 9ae8bcdffe
commit f4ab6f4b1f
8 changed files with 10 additions and 10 deletions

View File

@@ -34,7 +34,7 @@ class NotificationServiceProvider extends AbstractServiceProvider
DiscussionRenamedBlueprint::class => ['alert']
];
$this->app->make('events')->fire(
$this->app->make('events')->dispatch(
new ConfigureNotificationTypes($blueprints)
);