Skip to content

Commit a656581

Browse files
author
Bjorn Van Acker
committed
Fix secrets get command not loading correctly
1 parent 3961738 commit a656581

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

config/services.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,5 +129,8 @@
129129
->tag('console.command')
130130

131131
->set(SecretsGetCommand::class)
132+
->args([
133+
service('secrets.vault')
134+
])
132135
->tag('console.command');
133136
};

src/Command/SecretsGetCommand.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,10 @@
1414
)]
1515
class SecretsGetCommand extends Command
1616
{
17-
private function __construct(
17+
public function __construct(
1818
private AbstractVault $vault
1919
){
20+
parent::__construct();
2021
}
2122

2223
public function configure()

0 commit comments

Comments
 (0)