Completed
Pull Request — master (#25823)
by Martin
09:48
created
lib/private/Files/Cache/Wrapper/CacheJail.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
 
71 71
 	/**
72 72
 	 * @param array $entry
73
-	 * @return array
73
+	 * @return string
74 74
 	 */
75 75
 	protected function formatCacheEntry($entry) {
76 76
 		if (isset($entry['path'])) {
@@ -189,6 +189,9 @@  discard block
 block discarded – undo
189 189
 		return $this->cache->getStatus($this->getSourcePath($file));
190 190
 	}
191 191
 
192
+	/**
193
+	 * @param \OCP\Files\Cache\ICacheEntry[] $results
194
+	 */
192 195
 	private function formatSearchResults($results) {
193 196
 		$results = array_filter($results, array($this, 'filterCacheEntry'));
194 197
 		$results = array_values($results);
Please login to merge, or discard this patch.
lib/private/IntegrityCheck/Helpers/FileAccessHelper.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
 	 * Wrapper around file_put_contents($filename, $data)
53 53
 	 *
54 54
 	 * @param string $filename
55
-	 * @param $data
55
+	 * @param string $data
56 56
 	 * @return int|false
57 57
 	 */
58 58
 	public function file_put_contents($filename, $data) {
Please login to merge, or discard this patch.
lib/private/legacy/db.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -150,7 +150,6 @@
 block discarded – undo
150 150
 	/**
151 151
 	 * saves database schema to xml file
152 152
 	 * @param string $file name of file
153
-	 * @param int $mode
154 153
 	 * @return bool
155 154
 	 *
156 155
 	 * TODO: write more documentation
Please login to merge, or discard this patch.
lib/private/User/User.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -412,6 +412,10 @@
 block discarded – undo
412 412
 		return $url;
413 413
 	}
414 414
 
415
+	/**
416
+	 * @param string $feature
417
+	 * @param string $value
418
+	 */
415 419
 	public function triggerChange($feature, $value = null) {
416 420
 		if ($this->emitter) {
417 421
 			$this->emitter->emit('\OC\User', 'changeUser', array($this, $feature, $value));
Please login to merge, or discard this patch.
apps/files_external/lib/Lib/Storage/SMB.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -508,7 +508,7 @@  discard block
 block discarded – undo
508 508
 	 * if wnd.logging.enable is set to true in the config will log a leave line
509 509
 	 * with the given function, the return value or the exception
510 510
 	 *
511
-	 * @param $function
511
+	 * @param string $function
512 512
 	 * @param mixed $result an exception will be logged and then returned
513 513
 	 * @return mixed
514 514
 	 */
@@ -535,6 +535,9 @@  discard block
 block discarded – undo
535 535
 		return $result;
536 536
 	}
537 537
 
538
+	/**
539
+	 * @param string $function
540
+	 */
538 541
 	private function swallow($function, \Exception $exception) {
539 542
 		if (\OC::$server->getConfig()->getSystemValue('wnd.logging.enable', false) === true) {
540 543
 			Util::writeLog('wnd', "$function swallowing ".get_class($exception)
Please login to merge, or discard this patch.
apps/dav/lib/SystemTag/SystemTagPlugin.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,6 @@
 block discarded – undo
27 27
 use OCP\IUser;
28 28
 use OCP\ILogger;
29 29
 use OCP\Files\Folder;
30
-
31 30
 use OC\Share20\Exception\ShareNotFound;
32 31
 
33 32
 /**
Please login to merge, or discard this patch.
apps/provisioning_api/lib/Users.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -424,7 +424,7 @@
 block discarded – undo
424 424
 	/**
425 425
 	 * Returns whether the given user can manage the given group
426 426
 	 *
427
-	 * @param IUser $user user to check access
427
+	 * @param \OCP\IUser $user user to check access
428 428
 	 * @param IGroup|null $group group to check or null
429 429
 	 *
430 430
 	 * @return true if the user can manage the group
Please login to merge, or discard this patch.
lib/private/Files/Config/LazyStorageMountInfo.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -21,10 +21,7 @@
 block discarded – undo
21 21
 
22 22
 namespace OC\Files\Config;
23 23
 
24
-use OC\Files\Filesystem;
25
-use OCP\Files\Config\ICachedMountInfo;
26 24
 use OCP\Files\Mount\IMountPoint;
27
-use OCP\Files\Node;
28 25
 use OCP\IUser;
29 26
 
30 27
 class LazyStorageMountInfo extends CachedMountInfo {
Please login to merge, or discard this patch.