Don't imply that the events method is static

This commit is contained in:
lukinovec 2022-09-02 12:03:05 +02:00
parent a025c6a472
commit ba54f33962

View file

@ -29,7 +29,7 @@ php artisan vendor:publish --provider="Spatie\Permission\PermissionServiceProvid
mv database/migrations/*_create_permission_tables.php database/migrations/tenant mv database/migrations/*_create_permission_tables.php database/migrations/tenant
``` ```
Next, add the following listeners to the `TenancyBootstrapped` and `TenancyEnded` events in `TenancyServiceProvider::events()`: Next, add the following listeners to the `TenancyBootstrapped` and `TenancyEnded` events to `events()` in your `TenancyServiceProvider`:
```php ```php
Events\TenancyBootstrapped::class => [ Events\TenancyBootstrapped::class => [