| Total Complexity | 2 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | #[AsCommand( |
||
| 16 | name: 'vgr-core:score-investigation-update', |
||
| 17 | description: 'Command to check score under investigation' |
||
| 18 | )] |
||
| 19 | class ScoreInvestigationUpdate extends Command |
||
| 20 | { |
||
| 21 | private ScoreInvestigationHandler $scoreInvestigationHandler; |
||
| 22 | |||
| 23 | public function __construct(ScoreInvestigationHandler $scoreInvestigationHandler) |
||
| 24 | { |
||
| 25 | $this->scoreInvestigationHandler = $scoreInvestigationHandler; |
||
| 26 | parent::__construct(); |
||
| 27 | } |
||
| 28 | |||
| 29 | |||
| 30 | /** |
||
| 31 | * @param InputInterface $input |
||
| 32 | * @param OutputInterface $output |
||
| 33 | * @return int |
||
| 34 | * @throws OptimisticLockException|ORMException |
||
| 35 | */ |
||
| 36 | protected function execute(InputInterface $input, OutputInterface $output): int |
||
| 40 | } |
||
| 41 | } |
||
| 42 |