| Conditions | 3 |
| Paths | 5 |
| Total Lines | 13 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 6 |
| CRAP Score | 3.0261 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 22 | 1 | public function listAction() |
|
| 23 | { |
||
| 24 | try { |
||
| 25 | |||
| 26 | /** @var Account $account */ |
||
| 27 | 1 | $account = $this->accountRepository->findByIdentifier($this->settings['account']); |
|
| 28 | 1 | if ($account) { |
|
| 29 | 1 | $this->hubicService->setAccount($account); |
|
| 30 | 1 | $this->view->assign('links', $this->hubicService->getAllLinks()); |
|
| 31 | } |
||
| 32 | } catch(\Exception $e) { |
||
|
|
|||
| 33 | } |
||
| 34 | 1 | } |
|
| 35 | |||
| 52 |