Completed
Pull Request — master (#958)
by
unknown
02:36
created
lib/TokenManager.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -202,6 +202,9 @@  discard block
 block discarded – undo
202 202
 		}
203 203
 	}
204 204
 
205
+	/**
206
+	 * @param string $shareToken
207
+	 */
205 208
 	public function updateToRemoteToken(Wopi $wopi, $shareToken, $remoteServer, $remoteServerToken, $remoteWopi) {
206 209
 		$uid = $remoteWopi['editorUid'] . '@' . $remoteServer;
207 210
 		$wopi->setEditorUid($shareToken);
@@ -213,6 +216,10 @@  discard block
 block discarded – undo
213 216
 		return $wopi;
214 217
 	}
215 218
 
219
+	/**
220
+	 * @param string $userId
221
+	 * @param integer $targetFileId
222
+	 */
216 223
 	public function getTokenForTemplate(File $templateFile, $userId, $targetFileId, $direct = false) {
217 224
 		$owneruid = $userId;
218 225
 		$editoruid = $userId;
Please login to merge, or discard this patch.
lib/Db/WopiMapper.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -62,6 +62,7 @@
 block discarded – undo
62 62
 	 * @param string $serverHost
63 63
 	 * @param string $guestDisplayname
64 64
 	 * @param int $templateDestination
65
+	 * @param string $share
65 66
 	 * @return Wopi
66 67
 	 */
67 68
 	public function generateFileToken($fileId, $owner, $editor, $version, $updatable, $serverHost, $guestDisplayname, $templateDestination = 0, $hideDownload = false, $direct = false, $isRemoteToken = false, $templateId = 0, $share = null) {
Please login to merge, or discard this patch.