Completed
Pull Request — master (#22690)
by Blizzz
08:53
created
apps/dav/lib/caldav/caldavbackend.php 1 patch
Doc Comments   +8 added lines, -2 removed lines patch added patch discarded remove patch
@@ -286,6 +286,9 @@  discard block
 block discarded – undo
286 286
 		return $calendar;
287 287
 	}
288 288
 
289
+	/**
290
+	 * @param integer $calendarId
291
+	 */
289 292
 	public function getCalendarById($calendarId) {
290 293
 		$fields = array_values($this->propertyMap);
291 294
 		$fields[] = 'id';
@@ -594,7 +597,7 @@  discard block
 block discarded – undo
594 597
 	 * calendar-data. If the result of a subsequent GET to this object is not
595 598
 	 * the exact same as this request body, you should omit the ETag.
596 599
 	 *
597
-	 * @param mixed $calendarId
600
+	 * @param integer $calendarId
598 601
 	 * @param string $objectUri
599 602
 	 * @param string $calendarData
600 603
 	 * @return string
@@ -1033,7 +1036,7 @@  discard block
 block discarded – undo
1033 1036
 	 * @param string $principalUri
1034 1037
 	 * @param string $uri
1035 1038
 	 * @param array $properties
1036
-	 * @return mixed
1039
+	 * @return integer
1037 1040
 	 */
1038 1041
 	function createSubscription($principalUri, $uri, array $properties) {
1039 1042
 
@@ -1374,6 +1377,9 @@  discard block
 block discarded – undo
1374 1377
 		return $this->sharingBackend->applyShareAcl($resourceId, $acl);
1375 1378
 	}
1376 1379
 
1380
+	/**
1381
+	 * @param boolean $toV2
1382
+	 */
1377 1383
 	private function convertPrincipal($principalUri, $toV2) {
1378 1384
 		if ($this->principalBackend->getPrincipalPrefix() === 'principals') {
1379 1385
 			list(, $name) = URLUtil::splitPath($principalUri);
Please login to merge, or discard this patch.
apps/dav/lib/connector/legacydavacl.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -59,6 +59,9 @@
 block discarded – undo
59 59
 		);
60 60
 	}
61 61
 
62
+	/**
63
+	 * @param boolean $toV2
64
+	 */
62 65
 	private function convertPrincipal($principal, $toV2) {
63 66
 		list(, $name) = URLUtil::splitPath($principal);
64 67
 		if ($toV2) {
Please login to merge, or discard this patch.
apps/dav/lib/connector/sabre/commentpropertiesplugin.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -95,7 +95,7 @@
 block discarded – undo
95 95
 	 * returns a reference to the comments node
96 96
 	 *
97 97
 	 * @param Node $node
98
-	 * @return mixed|string
98
+	 * @return string
99 99
 	 */
100 100
 	public function getCommentsLink(Node $node) {
101 101
 		return '/remote.php/dav/comments/files/' . rawurldecode($node->getId());
Please login to merge, or discard this patch.