Completed
Pull Request — master (#30287)
by Thomas
10:09
created
apps/dav/lib/CalDAV/CalDavBackend.php 1 patch
Doc Comments   +7 added lines, -1 removed lines patch added patch discarded remove patch
@@ -270,6 +270,9 @@  discard block
 block discarded – undo
270 270
 		return array_values($calendars);
271 271
 	}
272 272
 
273
+	/**
274
+	 * @param string $principalUri
275
+	 */
273 276
 	public function getUsersOwnCalendars($principalUri) {
274 277
 		$principalUri = $this->convertPrincipal($principalUri, true);
275 278
 		$fields = array_values($this->propertyMap);
@@ -1279,7 +1282,7 @@  discard block
 block discarded – undo
1279 1282
 	 * @param string $principalUri
1280 1283
 	 * @param string $uri
1281 1284
 	 * @param array $properties
1282
-	 * @return mixed
1285
+	 * @return integer
1283 1286
 	 * @throws Forbidden
1284 1287
 	 */
1285 1288
 	function createSubscription($principalUri, $uri, array $properties) {
@@ -1685,6 +1688,9 @@  discard block
 block discarded – undo
1685 1688
 		return $this->sharingBackend->applyShareAcl($resourceId, $acl);
1686 1689
 	}
1687 1690
 
1691
+	/**
1692
+	 * @param boolean $toV2
1693
+	 */
1688 1694
 	private function convertPrincipal($principalUri, $toV2 = null) {
1689 1695
 		if ($this->principalBackend->getPrincipalPrefix() === 'principals') {
1690 1696
 			list(, $name) = URLUtil::splitPath($principalUri);
Please login to merge, or discard this patch.