From e0f559c2bdbfceb49486b9ef4970a0fe3ead0a8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yann=20Eugon=C3=A9?= Date: Sat, 6 Mar 2021 15:09:41 +0100 Subject: [PATCH] Fixed wrong property type and name in EventDispatcher --- src/EventDispatcher.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)