Completed
Pull Request — master (#475)
by Julius
03:51
created
lib/TokenManager.php 2 patches
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
 	 * @param string $fileId
83 83
 	 * @param string $shareToken
84 84
 	 * @param string $editoruid
85
-	 * @return array
85
+	 * @return string[]
86 86
 	 * @throws \Exception
87 87
 	 */
88 88
 	public function getToken($fileId, $shareToken = null, $editoruid = null) {
@@ -170,6 +170,9 @@  discard block
 block discarded – undo
170 170
 		}
171 171
 	}
172 172
 
173
+	/**
174
+	 * @param string $userId
175
+	 */
173 176
 	public function getTokenForTemplate(File $file, $userId, $templateDestination) {
174 177
 		$owneruid = $userId;
175 178
 		$editoruid = $userId;
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,6 @@
 block discarded – undo
24 24
 use OC\Share\Constants;
25 25
 use OCA\Richdocuments\Db\WopiMapper;
26 26
 use OCA\Richdocuments\Helper;
27
-use OCA\Richdocuments\Db\Wopi;
28 27
 use OCA\Richdocuments\WOPI\Parser;
29 28
 use OCP\Files\File;
30 29
 use OCP\Files\IRootFolder;
Please login to merge, or discard this patch.