Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
OzanKurt committed Jan 11, 2021
1 parent 5f7c115 commit 65d6c57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/IntlServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public function register()
public function boot()
{
$this->app['events']->listen(LocaleUpdated::class, function ($locale) {
$this->setLocale($locale);
$this->setLocale($locale->locale);
});

if ($this->app->runningInConsole()) {
Expand Down

0 comments on commit 65d6c57

Please sign in to comment.