Completed
Pull Request — master (#99)
by Blizzz
02:42
created
lib/WOPI/DiscoveryManager.php 1 patch
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.
lib/db/wopi.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -28,6 +28,9 @@
 block discarded – undo
28 28
 
29 29
 	protected $loadStatement = 'SELECT * FROM `*PREFIX*richdocuments_wopi` WHERE `token`= ?';
30 30
 
31
+	/**
32
+	 * @param integer $updatable
33
+	 */
31 34
 	public function generateFileToken($fileId, $owner, $editor, $version, $updatable, $serverHost) {
32 35
 		$token = \OC::$server->getSecureRandom()->getMediumStrengthGenerator()->generate(32,
33 36
 					\OCP\Security\ISecureRandom::CHAR_LOWER . \OCP\Security\ISecureRandom::CHAR_UPPER .
Please login to merge, or discard this patch.