Total Complexity | 3 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Coverage | 30.76% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | class ChangePasswordCommand extends Command |
||
11 | { |
||
12 | use AskForPassword; |
||
13 | |||
14 | protected $name = 'koel:admin:change-password'; |
||
15 | protected $description = "Change the default admin's password"; |
||
16 | |||
17 | private $hash; |
||
18 | |||
19 | 132 | public function __construct(Hash $hash) |
|
20 | { |
||
21 | 132 | parent::__construct(); |
|
22 | 132 | $this->hash = $hash; |
|
23 | 132 | } |
|
24 | |||
25 | public function handle(): void |
||
42 | } |
||
43 | } |
||
44 |