We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| Conditions | 3 |
| Paths | 2 |
| Total Lines | 15 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 31 | public function mainAction() |
||
| 32 | { |
||
| 33 | $this->loadDocument(); |
||
| 34 | |||
| 35 | if ( |
||
| 36 | $this->document === null |
||
| 37 | || $this->document->getCurrentDocument() === null |
||
| 38 | ) { |
||
| 39 | // Quit without doing anything if required variables are not set. |
||
| 40 | return; |
||
| 41 | } else { |
||
| 42 | $documentAnnotation = DocumentAnnotation::getInstance($this->document); |
||
| 43 | |||
| 44 | $this->view->assign('annotations', $documentAnnotation->getAnnotations()); |
||
| 45 | $this->view->assign('currentPage', $this->requestData['page']); |
||
| 46 | } |
||
| 49 |