Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Tests | 5 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
31 | 1 | protected function execute(InputInterface $input, OutputInterface $output): int |
|
32 | { |
||
33 | 1 | $task = $this->queue->find($input->getArgument('identifier')); |
|
34 | |||
35 | 1 | $this->queue->updateStatus($task, new Status($input->getArgument('status'))); |
|
36 | |||
37 | 1 | $this->formatTaskBlock($task, $output); |
|
38 | |||
39 | 1 | return 0; |
|
40 | } |
||
42 |