From 955ce6bdbb53933897043ad00776a88ba916208a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois-Xavier=20de=20Guillebon?= Date: Fri, 26 Aug 2022 16:19:22 +0200 Subject: [PATCH] Replace get_class() calls by ::class --- Command/UserPasswordHashCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Command/UserPasswordHashCommand.php b/Command/UserPasswordHashCommand.php index 81122d1..5fdc89c 100644 --- a/Command/UserPasswordHashCommand.php +++ b/Command/UserPasswordHashCommand.php @@ -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) {