From b46e1a55785faf297a819238d0cb68d7a468c0c1 Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Tue, 7 Dec 2021 12:27:08 +0100 Subject: [PATCH] Remove FQCN type hints on properties --- Command/UserPasswordHashCommand.php | 2 +- Hasher/MigratingPasswordHasher.php | 2 +- Hasher/UserPasswordHasher.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Command/UserPasswordHashCommand.php b/Command/UserPasswordHashCommand.php index 02e1dc5..d79097c 100644 --- a/Command/UserPasswordHashCommand.php +++ b/Command/UserPasswordHashCommand.php @@ -38,7 +38,7 @@ #[AsCommand(name: 'security:hash-password', description: 'Hash a user password')] class UserPasswordHashCommand extends Command { - private PasswordHasherFactoryInterface $hasherFactory; + private $hasherFactory; private array $userClasses; public function __construct(PasswordHasherFactoryInterface $hasherFactory, array $userClasses = []) diff --git a/Hasher/MigratingPasswordHasher.php b/Hasher/MigratingPasswordHasher.php index 7a8dc3e..a9a088c 100644 --- a/Hasher/MigratingPasswordHasher.php +++ b/Hasher/MigratingPasswordHasher.php @@ -24,7 +24,7 @@ */ final class MigratingPasswordHasher implements PasswordHasherInterface { - private PasswordHasherInterface $bestHasher; + private $bestHasher; private array $extraHashers; public function __construct(PasswordHasherInterface $bestHasher, PasswordHasherInterface ...$extraHashers) diff --git a/Hasher/UserPasswordHasher.php b/Hasher/UserPasswordHasher.php index be1a9b6..4883d91 100644 --- a/Hasher/UserPasswordHasher.php +++ b/Hasher/UserPasswordHasher.php @@ -23,7 +23,7 @@ */ class UserPasswordHasher implements UserPasswordHasherInterface { - private PasswordHasherFactoryInterface $hasherFactory; + private $hasherFactory; public function __construct(PasswordHasherFactoryInterface $hasherFactory) {