Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
32 | protected function execute(InputInterface $input, OutputInterface $output): int |
||
33 | { |
||
34 | $identifier = $input->getArgument('identifier'); |
||
35 | |||
36 | ServiceContainer::getInstance() |
||
37 | ->queue |
||
38 | ->delete($identifier); |
||
39 | |||
40 | $this->formatInfoSection(sprintf('Task %s deleted', $identifier), $output); |
||
41 | |||
42 | return 0; |
||
43 | } |
||
45 |