Completed
Pull Request — master (#31651)
by Thomas
21:16 queued 09:15
created
apps/dav/lib/Connector/Sabre/Node.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,6 @@
 block discarded – undo
39 39
 use OCA\DAV\Connector\Sabre\Exception\Forbidden;
40 40
 use OCA\DAV\Connector\Sabre\Exception\InvalidPath;
41 41
 use OCP\Files\ForbiddenException;
42
-use OCP\Files\Storage\IPersistentLockingStorage;
43 42
 use OCP\Share\Exceptions\ShareNotFound;
44 43
 use OCP\Share\IManager;
45 44
 
Please login to merge, or discard this patch.
apps/dav/lib/Connector/Sabre/LockPlugin.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,6 @@
 block discarded – undo
30 30
 use OCP\Lock\LockedException;
31 31
 use Sabre\DAV\Exception\Forbidden;
32 32
 use Sabre\DAV\Exception\NotFound;
33
-use Sabre\DAV\Exception\NotImplemented;
34 33
 use Sabre\DAV\Locks\LockInfo;
35 34
 use Sabre\DAV\ServerPlugin;
36 35
 use Sabre\HTTP\RequestInterface;
Please login to merge, or discard this patch.
lib/private/Files/Storage/Common.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -708,7 +708,7 @@
 block discarded – undo
708 708
 	}
709 709
 
710 710
 	/**
711
-	 * @param $internalPath
711
+	 * @param string $internalPath
712 712
 	 * @return array
713 713
 	 */
714 714
 	public function convertInternalPathToGlobalPath($internalPath) {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,6 @@
 block discarded – undo
53 53
 use OCP\Files\InvalidPathException;
54 54
 use OCP\Files\ReservedWordException;
55 55
 use OCP\Files\Storage\ILockingStorage;
56
-use OCP\Files\Storage\IStorage;
57 56
 use OCP\Files\Storage\IPersistentLockingStorage;
58 57
 use OCP\Files\Storage\IVersionedStorage;
59 58
 use OCP\Lock\ILockingProvider;
Please login to merge, or discard this patch.
lib/private/Lock/Persistent/Lock.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -117,7 +117,7 @@
 block discarded – undo
117 117
 	/**
118 118
 	 * Unix timestamp when lock was created
119 119
 	 *
120
-	 * @return mixed
120
+	 * @return integer
121 121
 	 * @since 11.0.0
122 122
 	 */
123 123
 	public function getCreatedAt(): int {
Please login to merge, or discard this patch.