Completed
Pull Request — master (#1545)
by Thomas
21:48 queued 10:54
created
apps/dav/lib/CalDAV/CalDavBackend.php 1 patch
Doc Comments   +8 added lines, -2 removed lines patch added patch discarded remove patch
@@ -137,7 +137,7 @@  discard block
 block discarded – undo
137 137
 	 *
138 138
 	 * By default this excludes the automatically generated birthday calendar
139 139
 	 *
140
-	 * @param $principalUri
140
+	 * @param string $principalUri
141 141
 	 * @param bool $excludeBirthday
142 142
 	 * @return int
143 143
 	 */
@@ -282,6 +282,9 @@  discard block
 block discarded – undo
282 282
 		return array_values($calendars);
283 283
 	}
284 284
 
285
+	/**
286
+	 * @param string $principalUri
287
+	 */
285 288
 	public function getUsersOwnCalendars($principalUri) {
286 289
 		$principalUri = $this->convertPrincipal($principalUri, true);
287 290
 		$fields = array_values($this->propertyMap);
@@ -1174,7 +1177,7 @@  discard block
 block discarded – undo
1174 1177
 	 * @param string $principalUri
1175 1178
 	 * @param string $uri
1176 1179
 	 * @param array $properties
1177
-	 * @return mixed
1180
+	 * @return integer
1178 1181
 	 */
1179 1182
 	function createSubscription($principalUri, $uri, array $properties) {
1180 1183
 
@@ -1533,6 +1536,9 @@  discard block
 block discarded – undo
1533 1536
 		return $this->sharingBackend->applyShareAcl($resourceId, $acl);
1534 1537
 	}
1535 1538
 
1539
+	/**
1540
+	 * @param boolean $toV2
1541
+	 */
1536 1542
 	private function convertPrincipal($principalUri, $toV2) {
1537 1543
 		if ($this->principalBackend->getPrincipalPrefix() === 'principals') {
1538 1544
 			list(, $name) = URLUtil::splitPath($principalUri);
Please login to merge, or discard this patch.