Completed
Push — stable10 ( 1f2bb5...0317df )
by Roeland
22s
created
lib/private/User/User.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -413,6 +413,10 @@
 block discarded – undo
413 413
 		return $url;
414 414
 	}
415 415
 
416
+	/**
417
+	 * @param string $feature
418
+	 * @param string $value
419
+	 */
416 420
 	public function triggerChange($feature, $value = null) {
417 421
 		if ($this->emitter) {
418 422
 			$this->emitter->emit('\OC\User', 'changeUser', array($this, $feature, $value));
Please login to merge, or discard this patch.
lib/private/AllConfig.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -116,8 +116,8 @@
 block discarded – undo
116 116
 	 * Looks up a system wide defined value
117 117
 	 *
118 118
 	 * @param string $key the key of the value, under which it was saved
119
-	 * @param mixed $default the default value to be returned if the value isn't set
120
-	 * @return mixed the value or $default
119
+	 * @param string|false $default the default value to be returned if the value isn't set
120
+	 * @return string the value or $default
121 121
 	 */
122 122
 	public function getSystemValue($key, $default = '') {
123 123
 		return $this->systemConfig->getValue($key, $default);
Please login to merge, or discard this patch.
lib/public/AppFramework/Http/OCSResponse.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -50,8 +50,8 @@
 block discarded – undo
50 50
 	 * @param int $statuscode
51 51
 	 * @param string $message
52 52
 	 * @param array $data
53
-	 * @param int|string $itemscount
54
-	 * @param int|string $itemsperpage
53
+	 * @param string $itemscount
54
+	 * @param string $itemsperpage
55 55
 	 * @since 8.1.0
56 56
 	 */
57 57
 	public function __construct($format, $statuscode, $message,
Please login to merge, or discard this patch.
lib/private/legacy/files.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -334,7 +334,7 @@
 block discarded – undo
334 334
 	 *
335 335
 	 * @param int $size file size in bytes
336 336
 	 * @param array $files override '.htaccess' and '.user.ini' locations
337
-	 * @return bool false on failure, size on success
337
+	 * @return integer false on failure, size on success
338 338
 	 */
339 339
 	public static function setUploadLimit($size, $files = []) {
340 340
 		//don't allow user to break his config
Please login to merge, or discard this patch.
lib/private/Settings/Manager.php 1 patch
Doc Comments   +14 added lines, -3 removed lines patch added patch discarded remove patch
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
129 129
 	/**
130 130
 	 * returns the registerd classes in the given table
131 131
 	 *
132
-	 * @param $table
132
+	 * @param string $table
133 133
 	 * @return string[]
134 134
 	 */
135 135
 	private function getClasses($table) {
@@ -225,6 +225,11 @@  discard block
 block discarded – undo
225 225
 		);
226 226
 	}
227 227
 
228
+	/**
229
+	 * @param string $table
230
+	 * @param string $idCol
231
+	 * @param string $id
232
+	 */
228 233
 	private function update($table, $idCol, $id, $values) {
229 234
 		$query = $this->dbc->getQueryBuilder();
230 235
 		$query->update($table);
@@ -275,8 +280,8 @@  discard block
 block discarded – undo
275 280
 	/**
276 281
 	 * deletes an settings or admin entry from the given table
277 282
 	 *
278
-	 * @param $table
279
-	 * @param $className
283
+	 * @param string $table
284
+	 * @param string $className
280 285
 	 */
281 286
 	private function remove($table, $className) {
282 287
 		$query = $this->dbc->getQueryBuilder();
@@ -362,6 +367,9 @@  discard block
 block discarded – undo
362 367
 		return $sections;
363 368
 	}
364 369
 
370
+	/**
371
+	 * @param string $section
372
+	 */
365 373
 	private function getBuiltInAdminSettings($section) {
366 374
 		$forms = [];
367 375
 		try {
@@ -401,6 +409,9 @@  discard block
 block discarded – undo
401 409
 		return $forms;
402 410
 	}
403 411
 
412
+	/**
413
+	 * @param string $section
414
+	 */
404 415
 	private function getAdminSettingsFromDB($section, &$settings) {
405 416
 		$query = $this->dbc->getQueryBuilder();
406 417
 		$query->select(['class', 'priority'])
Please login to merge, or discard this patch.
lib/private/legacy/app.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -1331,6 +1331,9 @@
 block discarded – undo
1331 1331
 		}
1332 1332
 	}
1333 1333
 
1334
+	/**
1335
+	 * @param string $lang
1336
+	 */
1334 1337
 	protected static function findBestL10NOption($options, $lang) {
1335 1338
 		$fallback = $englishFallback = false;
1336 1339
 		foreach ($options as $option) {
Please login to merge, or discard this patch.