Completed
Pull Request — master (#263)
by Roeland
37:39
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 1 patch
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -78,7 +78,6 @@  discard block
 block discarded – undo
78 78
 	 * @param Factory $appDataFactory
79 79
 	 * @param IURLGenerator $urlGenerator
80 80
 	 * @param IRootFolder $rootFolder
81
-	 * @param IPreview $previewManager
82 81
 	 */
83 82
 	public function __construct($appName,
84 83
 								$userId,
@@ -332,6 +331,9 @@  discard block
 block discarded – undo
332 331
 		];
333 332
 	}
334 333
 
334
+	/**
335
+	 * @param integer $fileId
336
+	 */
335 337
 	public function isTemplate($fileId) {
336 338
 		$system = $this->getSystem();
337 339
 		$user = $this->getUser();
Please login to merge, or discard this patch.