remove arguments in service providers

This commit is contained in:
Pig Fang 2018-07-11 16:09:54 +08:00
parent e1b2f1806b
commit ef77bd7018
2 changed files with 4 additions and 8 deletions

View File

@ -19,11 +19,10 @@ class EventServiceProvider extends ServiceProvider
/**
* Register any other events for your application.
*
* @param \Illuminate\Contracts\Events\Dispatcher $events
* @return void
*/
public function boot(DispatcherContract $events)
public function boot()
{
parent::boot($events);
parent::boot();
}
}

View File

@ -21,14 +21,11 @@ class RouteServiceProvider extends ServiceProvider
/**
* Define your route model bindings, pattern filters, etc.
*
* @param \Illuminate\Routing\Router $router
* @return void
*/
public function boot(Router $router)
public function boot()
{
//
parent::boot($router);
parent::boot();
}
/**