Completed
Pull Request — master (#25351)
by Thomas
09:29
created
apps/dav/lib/CalDAV/CalDavBackend.php 1 patch
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1066,7 +1066,7 @@  discard block
 block discarded – undo
1066 1066
 	 * @param string $principalUri
1067 1067
 	 * @param string $uri
1068 1068
 	 * @param array $properties
1069
-	 * @return mixed
1069
+	 * @return integer
1070 1070
 	 */
1071 1071
 	function createSubscription($principalUri, $uri, array $properties) {
1072 1072
 
@@ -1429,7 +1429,7 @@  discard block
 block discarded – undo
1429 1429
 	}
1430 1430
 
1431 1431
 	/**
1432
-	 * @param OCA\DAV\CalDAV\Calendar $sharable
1432
+	 * @param Calendar $sharable
1433 1433
 	 * @param bool $value
1434 1434
 	 * @return void
1435 1435
 	 */
@@ -1466,6 +1466,9 @@  discard block
 block discarded – undo
1466 1466
 		return $this->sharingBackend->applyShareAcl($resourceId, $acl);
1467 1467
 	}
1468 1468
 
1469
+	/**
1470
+	 * @param boolean $toV2
1471
+	 */
1469 1472
 	private function convertPrincipal($principalUri, $toV2) {
1470 1473
 		if ($this->principalBackend->getPrincipalPrefix() === 'principals') {
1471 1474
 			list(, $name) = URLUtil::splitPath($principalUri);
Please login to merge, or discard this patch.
apps/dav/lib/CalDAV/Sharing/SharingPlugin.php 2 patches
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,7 +19,6 @@  discard block
 block discarded – undo
19 19
     /**
20 20
      * Plugin constructor.
21 21
      *
22
-     * @param Auth     $authBackEnd
23 22
      * @param IRequest $request
24 23
      */
25 24
     public function __construct(IRequest $request)
@@ -86,7 +85,7 @@  discard block
 block discarded – undo
86 85
    * @param RequestInterface $request
87 86
    * @param ResponseInterface $response
88 87
    *
89
-   * @return null|bool
88
+   * @return null|false
90 89
    */
91 90
   public function httpPost(RequestInterface $request, ResponseInterface $response)
92 91
   {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace OCA\DAV\CalDAV\Sharing;
4 4
 
5
-use Sabre\DAV\PropFind;
6 5
 use OCP\IRequest;
7 6
 use Sabre\CalDAV\IShareableCalendar;
8 7
 use Sabre\DAV\Server;
Please login to merge, or discard this patch.