Completed
Pull Request — master (#24083)
by Lukas
12:51
created
lib/private/legacy/helper.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -197,6 +197,9 @@  discard block
 block discarded – undo
197 197
 		return self::linkToRoute( 'core_ajax_preview', array('x' => 32, 'y' => 32, 'file' => $path ));
198 198
 	}
199 199
 
200
+	/**
201
+	 * @param string $path
202
+	 */
200 203
 	public static function publicPreviewIcon( $path, $token ) {
201 204
 		return self::linkToRoute( 'core_ajax_public_preview', array('x' => 32, 'y' => 32, 'file' => $path, 't' => $token));
202 205
 	}
@@ -827,7 +830,7 @@  discard block
 block discarded – undo
827 830
 	 *
828 831
 	 * @param string $path
829 832
 	 * @param \OCP\Files\FileInfo $rootInfo (optional)
830
-	 * @return array
833
+	 * @return string
831 834
 	 * @throws \OCP\Files\NotFoundException
832 835
 	 */
833 836
 	public static function getStorageInfo($path, $rootInfo = null) {
Please login to merge, or discard this patch.
lib/private/legacy/user.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -238,6 +238,7 @@
 block discarded – undo
238 238
 
239 239
 	/**
240 240
 	 * Sets user id for session and triggers emit
241
+	 * @param string $uid
241 242
 	 */
242 243
 	public static function setUserId($uid) {
243 244
 		$userSession = \OC::$server->getUserSession();
Please login to merge, or discard this patch.
lib/private/legacy/util.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1434,7 +1434,7 @@
 block discarded – undo
1434 1434
 	 * Normalize a unicode string
1435 1435
 	 *
1436 1436
 	 * @param string $value a not normalized string
1437
-	 * @return bool|string
1437
+	 * @return string
1438 1438
 	 */
1439 1439
 	public static function normalizeUnicode($value) {
1440 1440
 		if(Normalizer::isNormalized($value)) {
Please login to merge, or discard this patch.
lib/private/Group/Manager.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -152,7 +152,7 @@
 block discarded – undo
152 152
 
153 153
 	/**
154 154
 	 * @param string $gid
155
-	 * @return \OCP\IGroup
155
+	 * @return null|Group
156 156
 	 */
157 157
 	protected function getGroupObject($gid) {
158 158
 		$backends = array();
Please login to merge, or discard this patch.