Skip to content

Commit

Permalink
Fix var naming
Browse files Browse the repository at this point in the history
  • Loading branch information
jorge07 committed Oct 25, 2019
1 parent c7fb5f1 commit 8f30d1d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Infrastructure/User/Auth/Guard/LoginAuthenticator.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,9 @@ public function getUser($credentials, UserProviderInterface $userProvider): ?Use
$email = $credentials['email'];
$plainPassword = $credentials['password'];

$query = new SignInCommand($email, $plainPassword);
$signInCommand = new SignInCommand($email, $plainPassword);

$this->bus->handle($query);
$this->bus->handle($signInCommand);

/** @var Item $userItem */
$userItem = $this->queryBus->handle(new FindByEmailQuery($email));
Expand Down

0 comments on commit 8f30d1d

Please sign in to comment.