Completed
Pull Request — master (#263)
by John
02:16
created
lib/WOPI/DiscoveryManager.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -65,6 +65,9 @@
 block discarded – undo
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 {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,6 @@
 block discarded – undo
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 */
Please login to merge, or discard this patch.
lib/Controller/DocumentController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
lib/TemplateManager.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -170,7 +170,7 @@
 block discarded – undo
170 170
 	 * Delete a template to the global template folder
171 171
 	 *
172 172
 	 * @param string $templateName
173
-	 * @return void
173
+	 * @return boolean
174 174
 	 */
175 175
 	public function delete(string $templateName) {
176 176
 		try {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,6 @@
 block discarded – undo
23 23
 
24 24
 namespace OCA\Richdocuments;
25 25
 
26
-use OCP\Files\File;
27 26
 use OCP\Files\Folder;
28 27
 use OCP\Files\IAppData;
29 28
 use OCP\Files\IRootFolder;
Please login to merge, or discard this patch.