| Conditions | 2 |
| Paths | 2 |
| Total Lines | 11 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 47 | protected function execute(InputInterface $input, OutputInterface $output) { |
||
| 48 | $feedId = $input->getArgument('feed-id'); |
||
| 49 | $userId = $input->getArgument('user-id'); |
||
| 50 | try { |
||
| 51 | $this->feedService->update($feedId, $userId); |
||
| 52 | } catch (Exception $e) { |
||
| 53 | $output->writeln('<error>Could not update feed with id ' . $feedId . |
||
| 54 | ' and user ' . $userId . ': ' . $e->getMessage() . |
||
| 55 | '</error> '); |
||
| 56 | } |
||
| 57 | } |
||
| 58 | |||
| 60 |