@@ -65,6 +65,9 @@ |
||
| 65 | 65 | $this->timeFactory = $timeFactory; |
| 66 | 66 | } |
| 67 | 67 | |
| 68 | + /** |
|
| 69 | + * @return string |
|
| 70 | + */ |
|
| 68 | 71 | public function get() { |
| 69 | 72 | // First check if there is a local valid discovery file |
| 70 | 73 | try { |
@@ -28,7 +28,6 @@ |
||
| 28 | 28 | use OCP\Http\Client\IClientService; |
| 29 | 29 | use OCP\IConfig; |
| 30 | 30 | use OCP\IL10N; |
| 31 | -use OCP\Notification\IApp; |
|
| 32 | 31 | |
| 33 | 32 | class DiscoveryManager { |
| 34 | 33 | /** @var IClientService */ |
@@ -12,7 +12,6 @@ |
||
| 12 | 12 | namespace OCA\Richdocuments\Controller; |
| 13 | 13 | |
| 14 | 14 | use OCA\Richdocuments\TokenManager; |
| 15 | -use OCA\Richdocuments\WOPI\Parser; |
|
| 16 | 15 | use \OCP\AppFramework\Controller; |
| 17 | 16 | use OCP\AppFramework\Http; |
| 18 | 17 | use OCP\AppFramework\Http\JSONResponse; |
@@ -77,7 +77,7 @@ |
||
| 77 | 77 | * Get preview for a specific template |
| 78 | 78 | * |
| 79 | 79 | * @param string $templateName The template id |
| 80 | - * @return DataDisplayResponse|NotFoundResponse |
|
| 80 | + * @return null|NotFoundResponse |
|
| 81 | 81 | */ |
| 82 | 82 | public function getPreview(string $templateName) { |
| 83 | 83 | try { |
@@ -39,7 +39,6 @@ |
||
| 39 | 39 | /** |
| 40 | 40 | * Admin template settings |
| 41 | 41 | * |
| 42 | - * @param string $appName |
|
| 43 | 42 | * @param IConfig $config |
| 44 | 43 | * @param TemplateManager $templateManager |
| 45 | 44 | */ |