Skip to content

Commit

Permalink
[10.x] Change closures function to arrow function in `LogServiceProvi…
Browse files Browse the repository at this point in the history
…der` (#46366)

* change closures function to arrow function in `LogServiceProvider`

* add missing arrow into arrow function
  • Loading branch information
milwad-dev authored Mar 6, 2023
1 parent 489b39c commit 80f9249
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Illuminate/Log/LogServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ class LogServiceProvider extends ServiceProvider
*/
public function register()
{
$this->app->singleton('log', function ($app) {
return new LogManager($app);
});
$this->app->singleton('log', fn ($app) => new LogManager($app));
}
}

0 comments on commit 80f9249

Please sign in to comment.