Completed
Pull Request — master (#9773)
by Georg
16:52
created
apps/dav/lib/CalDAV/CalDavBackend.php 1 patch
Doc Comments   +10 added lines, -4 removed lines patch added patch discarded remove patch
@@ -203,7 +203,7 @@  discard block
 block discarded – undo
203 203
 	 *
204 204
 	 * By default this excludes the automatically generated birthday calendar
205 205
 	 *
206
-	 * @param $principalUri
206
+	 * @param string $principalUri
207 207
 	 * @param bool $excludeBirthday
208 208
 	 * @return int
209 209
 	 */
@@ -372,6 +372,9 @@  discard block
 block discarded – undo
372 372
 		return array_values($calendars);
373 373
 	}
374 374
 
375
+	/**
376
+	 * @param string $principalUri
377
+	 */
375 378
 	public function getUsersOwnCalendars($principalUri) {
376 379
 		$principalUri = $this->convertPrincipal($principalUri, true);
377 380
 		$fields = array_values($this->propertyMap);
@@ -967,7 +970,7 @@  discard block
 block discarded – undo
967 970
 	 * calendar-data. If the result of a subsequent GET to this object is not
968 971
 	 * the exact same as this request body, you should omit the ETag.
969 972
 	 *
970
-	 * @param mixed $calendarId
973
+	 * @param integer $calendarId
971 974
 	 * @param string $objectUri
972 975
 	 * @param string $calendarData
973 976
 	 * @return string
@@ -1035,7 +1038,7 @@  discard block
 block discarded – undo
1035 1038
 	 * calendar-data. If the result of a subsequent GET to this object is not
1036 1039
 	 * the exact same as this request body, you should omit the ETag.
1037 1040
 	 *
1038
-	 * @param mixed $calendarId
1041
+	 * @param integer $calendarId
1039 1042
 	 * @param string $objectUri
1040 1043
 	 * @param string $calendarData
1041 1044
 	 * @return string
@@ -1783,7 +1786,7 @@  discard block
 block discarded – undo
1783 1786
 	 * @param string $principalUri
1784 1787
 	 * @param string $uri
1785 1788
 	 * @param array $properties
1786
-	 * @return mixed
1789
+	 * @return integer
1787 1790
 	 */
1788 1791
 	function createSubscription($principalUri, $uri, array $properties) {
1789 1792
 
@@ -2349,6 +2352,9 @@  discard block
 block discarded – undo
2349 2352
 		return (int)$objectIds['id'];
2350 2353
 	}
2351 2354
 
2355
+	/**
2356
+	 * @param boolean $toV2
2357
+	 */
2352 2358
 	private function convertPrincipal($principalUri, $toV2) {
2353 2359
 		\OC::$server->getLogger()->error($principalUri);
2354 2360
 		\OC::$server->getLogger()->error($this->principalBackend->getPrincipalPrefix());
Please login to merge, or discard this patch.