Skip to content

Commit

Permalink
Replace get_class() calls by ::class
Browse files Browse the repository at this point in the history
  • Loading branch information
deguif authored and fabpot committed Sep 1, 2022
1 parent 000a24d commit 955ce6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Command/UserPasswordHashCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
$hashedPassword = $hasher->hash($password, $salt);

$rows = [
['Hasher used', \get_class($hasher)],
['Hasher used', $hasher::class],
['Password hash', $hashedPassword],
];
if (!$emptySalt) {
Expand Down

0 comments on commit 955ce6b

Please sign in to comment.