Completed
Push — master ( 86d952...cbfcfb )
by Morris
24:23
created
lib/private/Share20/Manager.php 1 patch
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -576,7 +576,7 @@  discard block
 block discarded – undo
576 576
 	 * Share a path
577 577
 	 *
578 578
 	 * @param \OCP\Share\IShare $share
579
-	 * @return Share The share object
579
+	 * @return IShare The share object
580 580
 	 * @throws \Exception
581 581
 	 *
582 582
 	 * TODO: handle link share permissions or check them
@@ -1169,7 +1169,7 @@  discard block
 block discarded – undo
1169 1169
 	 * Get the share by token possible with password
1170 1170
 	 *
1171 1171
 	 * @param string $token
1172
-	 * @return Share
1172
+	 * @return IShare
1173 1173
 	 *
1174 1174
 	 * @throws ShareNotFound
1175 1175
 	 */
@@ -1231,6 +1231,9 @@  discard block
 block discarded – undo
1231 1231
 		return $share;
1232 1232
 	}
1233 1233
 
1234
+	/**
1235
+	 * @param IShare $share
1236
+	 */
1234 1237
 	protected function checkExpireDate($share) {
1235 1238
 		if ($share->getExpirationDate() !== null &&
1236 1239
 			$share->getExpirationDate() <= new \DateTime()) {
Please login to merge, or discard this patch.