Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jrushlow committed Apr 21, 2021
1 parent 8786488 commit 0ae6f63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Security/UserClassBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ private function addGetUsername(ClassSourceManipulator $manipulator, UserClassCo

$getterIdentifierName = 'getUsername';

// Check if we're using Symfony 5.3+ - UserInterface::getUsername() was replaced with UserInterface::getUserIdentifier
// Check if we're using Symfony 5.3+ - UserInterface::getUsername() was replaced with UserInterface::getUserIdentifier()
if (class_exists(InMemoryUser::class)) {
$getterIdentifierName = 'getUserIdentifier';
}
Expand Down

0 comments on commit 0ae6f63

Please sign in to comment.