Skip to content

Commit

Permalink
Fixed wrong property type and name in EventDispatcher
Browse files Browse the repository at this point in the history
  • Loading branch information
yann-eugone committed Mar 6, 2021
1 parent 90b17a0 commit e0f559c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/EventDispatcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit e0f559c

Please sign in to comment.