diff --git a/src/Potter/Event/Event.php b/src/Potter/Event/Event.php index cdbdbf5..d500252 100644 --- a/src/Potter/Event/Event.php +++ b/src/Potter/Event/Event.php @@ -4,10 +4,9 @@ declare(strict_types=1); namespace Potter\Event; -use \League\Event\HasEventName; -use \Symfony\Component\EventDispatcher\GenericEvent; - -final class Event extends GenericEvent implements HasEventName +final class Event + extends \Symfony\Component\EventDispatcher\GenericEvent + implements \League\Event\HasEventName { public function __construct(mixed $subject = null, array $arguments = []) { parent::__construct($subject, $arguments);