| Total Complexity | 4 |
| Total Lines | 39 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 2 | ||
| Bugs | 0 | Features | 2 |
| 1 | <?php |
||
| 14 | class RecoverCommand extends Command |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * @inheritdoc |
||
| 18 | */ |
||
| 19 | protected function configure(): void |
||
| 20 | { |
||
| 21 | $this->setName('shamir:recover')->setDescription('Recover a shared secret')->addArgument( |
||
| 22 | 'shares', |
||
| 23 | InputArgument::IS_ARRAY, |
||
| 24 | 'Add the shared secrets' |
||
| 25 | ); |
||
| 26 | } |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @inheritdoc |
||
| 30 | */ |
||
| 31 | protected function execute(InputInterface $input, OutputInterface $output): int |
||
| 53 | } |
||
| 54 | } |
||
| 55 |