@@ -364,7 +364,7 @@ |
||
| 364 | 364 | * @param string $storage |
| 365 | 365 | * @param string $file |
| 366 | 366 | * |
| 367 | - * @return bool|string |
|
| 367 | + * @return string|false |
|
| 368 | 368 | */ |
| 369 | 369 | public function getFileLocation($storage = 'local', $file) |
| 370 | 370 | { |
@@ -75,8 +75,7 @@ |
||
| 75 | 75 | |
| 76 | 76 | try { |
| 77 | 77 | $result = $hacked->computeReport(); |
| 78 | - } |
|
| 79 | - catch (\Exception $e) { |
|
| 78 | + } catch (\Exception $e) { |
|
| 80 | 79 | // Todo: log error. |
| 81 | 80 | $result['status'] = HackedProject::STATUS_UNCHECKED; |
| 82 | 81 | } |