Upgrade to Laravel 9 (#4413)

Co-authored-by: DaneEveritt <dane@daneeveritt.com>
This commit is contained in:
Matthew Penner 2022-10-14 10:59:20 -06:00 committed by GitHub
parent 95e15d2c8a
commit cbcf62086f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
573 changed files with 4387 additions and 9411 deletions

View file

@ -18,9 +18,7 @@ use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvi
class EventServiceProvider extends ServiceProvider
{
/**
* The event listener mappings for the application.
*
* @var array
* The event to listener mappings for the application.
*/
protected $listen = [
ServerInstalledEvent::class => [ServerInstalledNotification::class],
@ -31,9 +29,9 @@ class EventServiceProvider extends ServiceProvider
];
/**
* Boots the service provider and registers model event listeners.
* Register any events for your application.
*/
public function boot()
public function boot(): void
{
parent::boot();
@ -42,9 +40,4 @@ class EventServiceProvider extends ServiceProvider
Subuser::observe(SubuserObserver::class);
EggVariable::observe(EggVariableObserver::class);
}
public function shouldDiscoverEvents()
{
return true;
}
}