Commit 707af135 authored by Nicolas Widart's avatar Nicolas Widart

Remove the booted closure

parent 7f604d04
......@@ -6,7 +6,6 @@ use Modules\Menu\Repositories\Eloquent\EloquentMenuRepository;
class MenuServiceProvider extends ServiceProvider
{
/**
* Indicates if loading of the provider is deferred.
*
......@@ -21,9 +20,7 @@ class MenuServiceProvider extends ServiceProvider
*/
public function register()
{
$this->app->booted(function () {
$this->registerBindings();
});
$this->registerBindings();
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment