diff --git a/src/EventDispatcher.php b/src/EventDispatcher.php index 00de717..21a5b72 100644 --- a/src/EventDispatcher.php +++ b/src/EventDispatcher.php @@ -39,7 +39,7 @@ public function __construct(EventDispatcherInterface $eventDispatcher) * * @return CreateTokenEvent */ - public function createToken(string $purpose, string $user, array $payload): CreateTokenEvent + public function createToken(string $purpose, $user, array $payload): CreateTokenEvent { $this->eventDispatcher->dispatch( $event = new CreateTokenEvent($purpose, $user, $payload)