Completed
Pull Request — stable8.2 (#29162)
by Tom
11:55
created
lib/private/template/base.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,6 +36,7 @@  discard block
 block discarded – undo
36 36
 	 * @param string $template
37 37
 	 * @param \OC_L10N $l10n
38 38
 	 * @param \OC_Defaults $theme
39
+	 * @param string $requesttoken
39 40
 	 */
40 41
 	public function __construct( $template, $requesttoken, $l10n, $theme ) {
41 42
 		$this->vars = array();
@@ -95,7 +96,7 @@  discard block
 block discarded – undo
95 96
 	/**
96 97
 	 * Appends a variable
97 98
 	 * @param string $key key
98
-	 * @param mixed $value value
99
+	 * @param string $value value
99 100
 	 * @return boolean|null
100 101
 	 *
101 102
 	 * This function assigns a variable in an array context. If the key already
Please login to merge, or discard this patch.
lib/private/template/functions.php 1 patch
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
 /**
40 40
  * Prints an unsanitized string - usage of this function may result into XSS.
41 41
  * Consider using p() instead.
42
- * @param string|array $string the string which will be printed as it is
42
+ * @param string $string the string which will be printed as it is
43 43
  */
44 44
 function print_unescaped($string) {
45 45
 	print($string);
@@ -184,7 +184,7 @@  discard block
 block discarded – undo
184 184
  * make preview_icon available as a simple function
185 185
  * Returns the path to the preview of the image.
186 186
  * @param string $path path of file
187
- * @return link to the preview
187
+ * @return string to the preview
188 188
  *
189 189
  * For further information have a look at OC_Helper::previewIcon
190 190
  */
@@ -194,6 +194,7 @@  discard block
 block discarded – undo
194 194
 
195 195
 /**
196 196
  * @param string $path
197
+ * @param string $token
197 198
  */
198 199
 function publicPreview_icon ( $path, $token ) {
199 200
 	return OC_Helper::publicPreviewIcon( $path, $token );
Please login to merge, or discard this patch.
lib/private/updater.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -277,7 +277,7 @@
 block discarded – undo
277 277
 	 * @param string $installedVersion previous version from which to upgrade from
278 278
 	 *
279 279
 	 * @throws \Exception
280
-	 * @return bool true if the operation succeeded, false otherwise
280
+	 * @return boolean|null true if the operation succeeded, false otherwise
281 281
 	 */
282 282
 	private function doUpgrade($currentVersion, $installedVersion) {
283 283
 		// Stop update if the update is over several major versions
Please login to merge, or discard this patch.
lib/private/user.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -336,7 +336,7 @@
 block discarded – undo
336 336
 	 * Sets user display name for session
337 337
 	 *
338 338
 	 * @param string $uid
339
-	 * @param null $displayName
339
+	 * @param string $displayName
340 340
 	 * @return bool Whether the display name could get set
341 341
 	 */
342 342
 	public static function setDisplayName($uid, $displayName = null) {
Please login to merge, or discard this patch.
lib/private/user/manager.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@
 block discarded – undo
84 84
 
85 85
 	/**
86 86
 	 * Get the active backends
87
-	 * @return \OCP\UserInterface[]
87
+	 * @return \OCP\UserInterface
88 88
 	 */
89 89
 	public function getBackends() {
90 90
 		return $this->backends;
Please login to merge, or discard this patch.
lib/private/user/session.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -142,7 +142,7 @@
 block discarded – undo
142 142
 	/**
143 143
 	 * get the current active user
144 144
 	 *
145
-	 * @return \OCP\IUser|null Current user, otherwise null
145
+	 * @return null|User Current user, otherwise null
146 146
 	 */
147 147
 	public function getUser() {
148 148
 		// FIXME: This is a quick'n dirty work-around for the incognito mode as
Please login to merge, or discard this patch.
lib/public/appframework/utility/icontrollermethodreflector.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -36,6 +36,7 @@
 block discarded – undo
36 36
 	 * @param object $object an object or classname
37 37
 	 * @param string $method the method which we want to inspect
38 38
 	 * @since 8.0.0
39
+	 * @return void
39 40
 	 */
40 41
 	public function reflect($object, $method);
41 42
 
Please login to merge, or discard this patch.
lib/public/files.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
 	/**
67 67
 	 * Search for files by mimetype
68 68
 	 * @param string $mimetype
69
-	 * @return array
69
+	 * @return \OC\Files\FileInfo[]
70 70
 	 * @since 6.0.0
71 71
 	 */
72 72
 	static public function searchByMime( $mimetype ) {
Please login to merge, or discard this patch.
lib/public/search/pagedprovider.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -59,6 +59,7 @@
 block discarded – undo
59 59
 	 * @param string $query
60 60
 	 * @param int $page pages start at page 1
61 61
 	 * @param int $size, 0 = SIZE_ALL
62
+	 * @param integer $size
62 63
 	 * @return array An array of OCP\Search\Result's
63 64
 	 * @since 8.0.0
64 65
 	 */
Please login to merge, or discard this patch.