Completed
Pull Request — master (#31651)
by Thomas
69:04 queued 52:42
created
apps/dav/lib/Files/FileLocksBackend.php 1 patch
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,6 +33,9 @@  discard block
 block discarded – undo
33 33
 	/** @var Tree */
34 34
 	private $tree;
35 35
 
36
+	/**
37
+	 * @param Tree $tree
38
+	 */
36 39
 	public function __construct($tree) {
37 40
 		$this->tree = $tree;
38 41
 	}
@@ -75,7 +78,7 @@  discard block
 block discarded – undo
75 78
 	 *
76 79
 	 * @param string $uri
77 80
 	 * @param Locks\LockInfo $lockInfo
78
-	 * @return bool
81
+	 * @return boolean|null
79 82
 	 */
80 83
 	function lock($uri, Locks\LockInfo $lockInfo) {
81 84
 		// TODO: Implement lock() method.
@@ -86,7 +89,7 @@  discard block
 block discarded – undo
86 89
 	 *
87 90
 	 * @param string $uri
88 91
 	 * @param Locks\LockInfo $lockInfo
89
-	 * @return bool
92
+	 * @return boolean|null
90 93
 	 */
91 94
 	function unlock($uri, Locks\LockInfo $lockInfo) {
92 95
 		// TODO: Implement unlock() method.
Please login to merge, or discard this patch.
lib/private/Files/Storage/Common.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,6 @@
 block discarded – undo
55 55
 use OCP\Files\Storage\IPersistentLockingStorage;
56 56
 use OCP\Files\Storage\IVersionedStorage;
57 57
 use OCP\Lock\ILockingProvider;
58
-use Sabre\DAV\Exception\NotImplemented;
59 58
 
60 59
 /**
61 60
  * Storage backend class for providing common filesystem operation methods
Please login to merge, or discard this patch.
apps/dav/lib/Connector/Sabre/Node.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -387,7 +387,7 @@
 block discarded – undo
387 387
 	}
388 388
 
389 389
 	/**
390
-	 * @param $returnChildLocks
390
+	 * @param boolean $returnChildLocks
391 391
 	 * @return Lock[]
392 392
 	 */
393 393
 	public function getLocks($returnChildLocks) {
Please login to merge, or discard this patch.
lib/private/Lock/Persistent/LockMapper.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -30,6 +30,10 @@
 block discarded – undo
30 30
 		parent::__construct($db, 'persistent_locks', null);
31 31
 	}
32 32
 
33
+	/**
34
+	 * @param integer $storageId
35
+	 * @param boolean $returnChildLocks
36
+	 */
33 37
 	public function getLocksByPath($storageId, $internalPath, $returnChildLocks) {
34 38
 		$query = $this->db->getQueryBuilder();
35 39
 		$pathPattern = $this->db->escapeLikeParameter($internalPath) . '%';
Please login to merge, or discard this patch.