mirror of
https://github.com/flarum/core.git
synced 2025-08-02 14:37:49 +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:
@@ -434,7 +434,7 @@ class Application extends Container implements ApplicationContract
|
||||
*/
|
||||
protected function markAsRegistered($provider)
|
||||
{
|
||||
$this['events']->fire($class = get_class($provider), [$provider]);
|
||||
$this['events']->dispatch($class = get_class($provider), [$provider]);
|
||||
|
||||
$this->serviceProviders[] = $provider;
|
||||
|
||||
|
Reference in New Issue
Block a user