We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -178,7 +178,8 @@ discard block |
||
| 178 | 178 | * |
| 179 | 179 | * @return boolean |
| 180 | 180 | */ |
| 181 | - protected function isDocMissingOrEmpty() { |
|
| 181 | + protected function isDocMissingOrEmpty() |
|
| 182 | + { |
|
| 182 | 183 | return $this->isDocMissing() || $this->document->getDoc()->numPages < 1; |
| 183 | 184 | } |
| 184 | 185 | |
@@ -187,7 +188,8 @@ discard block |
||
| 187 | 188 | * |
| 188 | 189 | * @return boolean |
| 189 | 190 | */ |
| 190 | - protected function isDocMissing() { |
|
| 191 | + protected function isDocMissing() |
|
| 192 | + { |
|
| 191 | 193 | return $this->document === null || $this->document->getDoc() === null; |
| 192 | 194 | } |
| 193 | 195 | |