Completed
Pull Request — master (#31105)
by Jörn Friedrich
12:22
created
apps/files/lib/Command/VerifyChecksums.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -173,7 +173,7 @@  discard block
 block discarded – undo
173 173
 
174 174
 	/**
175 175
 	 * @param Node $node
176
-	 * @param $correctChecksum
176
+	 * @param string $correctChecksum
177 177
 	 * @throws NotFoundException
178 178
 	 * @throws \OCP\Files\InvalidPathException
179 179
 	 * @throws \OCP\Files\StorageNotAvailableException
@@ -188,7 +188,7 @@  discard block
 block discarded – undo
188 188
 	}
189 189
 
190 190
 	/**
191
-	 * @param $path
191
+	 * @param string $path
192 192
 	 * @param IStorage $storage
193 193
 	 * @return string
194 194
 	 * @throws \OCP\Files\StorageNotAvailableException
Please login to merge, or discard this patch.
lib/private/AvatarManager.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -28,7 +28,6 @@  discard block
 block discarded – undo
28 28
 
29 29
 namespace OC;
30 30
 
31
-use OCP\Files\Folder;
32 31
 use OCP\Files\NotFoundException;
33 32
 use OCP\Files\Storage\IStorage;
34 33
 use OCP\IAvatarManager;
@@ -36,7 +35,6 @@  discard block
 block discarded – undo
36 35
 use OCP\IUserManager;
37 36
 use OCP\Files\IRootFolder;
38 37
 use OCP\IL10N;
39
-use OCP\IUser;
40 38
 
41 39
 /**
42 40
  * This class implements methods to access Avatar functionality
Please login to merge, or discard this patch.
lib/private/Files/Storage/Node.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -368,7 +368,7 @@
 block discarded – undo
368 368
 	/**
369 369
 	 * Get the parent folder of the file or folder
370 370
 	 *
371
-	 * @return Folder
371
+	 * @return null|Folder
372 372
 	 * @since 6.0.0
373 373
 	 */
374 374
 	public function getParent() {
Please login to merge, or discard this patch.
lib/private/Files/Storage/Wrapper/PermissionsMask.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -77,6 +77,9 @@  discard block
 block discarded – undo
77 77
 		return $this->storage->getPermissions($path) & $this->mask;
78 78
 	}
79 79
 
80
+	/**
81
+	 * @param string $path
82
+	 */
80 83
 	private function isPartFile($path) {
81 84
 		return pathinfo($path, PATHINFO_EXTENSION) === 'part';
82 85
 	}
@@ -126,7 +129,7 @@  discard block
 block discarded – undo
126 129
 	 *
127 130
 	 * @param string $path
128 131
 	 * @param \OC\Files\Storage\Storage (optional) the storage to pass to the cache
129
-	 * @return \OC\Files\Cache\Cache
132
+	 * @return \OCP\Files\Cache\ICache
130 133
 	 */
131 134
 	public function getCache($path = '', $storage = null) {
132 135
 		if (!$storage) {
Please login to merge, or discard this patch.