From bf8e95561eeb5e9e7b69e139c95c412e6efd27b9 Mon Sep 17 00:00:00 2001 From: Christopher Vagnetoft Date: Thu, 2 Jan 2025 13:47:09 +0100 Subject: [PATCH] Fix a wtf in CommandResolverTrait --- src/CommandResolverTrait.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/CommandResolverTrait.php b/src/CommandResolverTrait.php index f588a49..661c3dc 100644 --- a/src/CommandResolverTrait.php +++ b/src/CommandResolverTrait.php @@ -8,9 +8,8 @@ use Evenement\EventEmitterTrait; * A collection of commands that can be executed via CommandBusInterface * */ -trait CommandResolverTrait implements EventEmitterInterface +trait CommandResolverTrait { - use EventEmitterTrait; const EVENT_REGISTERED = 'registered'; const EVENT_UNREGISTERED = 'unregistered';