Skip to content

Commit d906b72

Browse files
authored
[command] Fix Override deprecation (#234)
1 parent b8f59b3 commit d906b72

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Command/ResetPasswordRemoveExpiredCommand.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,13 @@
2020
*/
2121
class ResetPasswordRemoveExpiredCommand extends Command
2222
{
23-
protected static $defaultName = 'reset-password:remove-expired';
24-
2523
private $cleaner;
2624

2725
public function __construct(ResetPasswordCleaner $cleaner)
2826
{
2927
$this->cleaner = $cleaner;
3028

31-
parent::__construct();
29+
parent::__construct('reset-password:remove-expired');
3230
}
3331

3432
/**

0 commit comments

Comments
 (0)