Skip to content

Commit

Permalink
Remove FQCN type hints on properties
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpot committed Dec 8, 2021
1 parent 6f11fb2 commit b46e1a5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Command/UserPasswordHashCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [])
Expand Down
2 changes: 1 addition & 1 deletion Hasher/MigratingPasswordHasher.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
*/
final class MigratingPasswordHasher implements PasswordHasherInterface
{
private PasswordHasherInterface $bestHasher;
private $bestHasher;
private array $extraHashers;

public function __construct(PasswordHasherInterface $bestHasher, PasswordHasherInterface ...$extraHashers)
Expand Down
2 changes: 1 addition & 1 deletion Hasher/UserPasswordHasher.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
*/
class UserPasswordHasher implements UserPasswordHasherInterface
{
private PasswordHasherFactoryInterface $hasherFactory;
private $hasherFactory;

public function __construct(PasswordHasherFactoryInterface $hasherFactory)
{
Expand Down

0 comments on commit b46e1a5

Please sign in to comment.