6.0.0
- Support PHP 8.1
- The
EventHandler
interface was changed in order to use thespatie/better-types
package:
- public function handles(): array;
+ public function handles(StoredEvent $storedEvent): bool;
- public function handle(StoredEvent $event);
+ public function handle(StoredEvent $storedEvent): void;