Completed
Pull Request — master (#29214)
by Sujith
12:51
created
lib/private/Files/Node/Root.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -174,7 +174,7 @@  discard block
 block discarded – undo
174 174
 	 * @param string $path
175 175
 	 * @throws \OCP\Files\NotFoundException
176 176
 	 * @throws \OCP\Files\NotPermittedException
177
-	 * @return string
177
+	 * @return \OCP\Files\Node
178 178
 	 */
179 179
 	public function get($path) {
180 180
 		$path = $this->normalizePath($path);
@@ -371,6 +371,9 @@  discard block
 block discarded – undo
371 371
 
372 372
 	}
373 373
 
374
+	/**
375
+	 * @param string $fullPath
376
+	 */
374 377
 	private function resolveVirtualNode($fullPath) {
375 378
 		$pieces = explode('/', $fullPath);
376 379
 		if ($pieces[1] !== 'meta') {
Please login to merge, or discard this patch.
apps/dav/lib/MetaData/MetaDataHome.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -24,12 +24,10 @@
 block discarded – undo
24 24
 
25 25
 
26 26
 use OC\Files\Meta\MetaVersionCollection;
27
-use OCP\IMetaData;
28 27
 use Sabre\DAV\Exception\Forbidden;
29 28
 use Sabre\DAV\Exception\MethodNotAllowed;
30 29
 use Sabre\DAV\Exception\NotFound;
31 30
 use Sabre\DAV\ICollection;
32
-use Sabre\HTTP\URLUtil;
33 31
 
34 32
 class MetaDataHome implements ICollection {
35 33
 
Please login to merge, or discard this patch.
lib/private/Files/Meta/MetaVersionCollection.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -37,6 +37,9 @@
 block discarded – undo
37 37
 
38 38
 	private $fileId;
39 39
 
40
+	/**
41
+	 * @param integer $fileId
42
+	 */
40 43
 	public function __construct($fileId) {
41 44
 		$this->fileId = $fileId;
42 45
 	}
Please login to merge, or discard this patch.
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -26,11 +26,7 @@
 block discarded – undo
26 26
 use OC\Files\Node\AbstractFolder;
27 27
 use OC\Files\Storage\IVersionedStorage;
28 28
 use OC\Files\View;
29
-use OCP\Files\FileInfo;
30
-use OCP\Files\Folder;
31
-use OCP\Files\InvalidPathException;
32 29
 use OCP\Files\NotFoundException;
33
-use OCP\Files\NotPermittedException;
34 30
 use OCP\Files\Storage;
35 31
 
36 32
 class MetaVersionCollection extends AbstractFolder {
Please login to merge, or discard this patch.