From 2fd49ff923cac28d2a52705572e2dcd9d0b350bb Mon Sep 17 00:00:00 2001 From: Pedro Oliveira Date: Mon, 14 Oct 2024 09:25:37 -0300 Subject: [PATCH] fix clear command signature --- src/EventSourcingServiceProvider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/EventSourcingServiceProvider.php b/src/EventSourcingServiceProvider.php index b2c1ad69..d309ddce 100644 --- a/src/EventSourcingServiceProvider.php +++ b/src/EventSourcingServiceProvider.php @@ -51,7 +51,7 @@ public function packageBooted(): void if (method_exists($this, 'optimizes')) { $this->optimizes( optimize: 'event-sourcing:cache-event-handlers', - clear: 'event-sourcing:clear-cached-event-handlers', + clear: 'event-sourcing:clear-event-handlers', key: 'laravel-event-sourcing', ); }