From f54c1719b00bba100922bc3a1122c30888faf54b Mon Sep 17 00:00:00 2001 From: Ryan Mitchell Date: Fri, 5 Nov 2021 07:53:25 +0000 Subject: [PATCH] Change fire to dispatch as fire is deprecated --- src/Currency/CurrencyServiceProvider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Currency/CurrencyServiceProvider.php b/src/Currency/CurrencyServiceProvider.php index c62794150..792a7b081 100755 --- a/src/Currency/CurrencyServiceProvider.php +++ b/src/Currency/CurrencyServiceProvider.php @@ -44,7 +44,7 @@ public function registerCurrency() { $this->app->singleton('currency', function ($app) { - $this->app['events']->fire('currency.beforeRegister', [$this]); + $this->app['events']->dispatch('currency.beforeRegister', [$this]); return new Currency( $app->config->get('currency', []),