summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/CalDAV/Proxy/ProxyMapper.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/dav/lib/CalDAV/Proxy/ProxyMapper.php')
-rw-r--r--apps/dav/lib/CalDAV/Proxy/ProxyMapper.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/apps/dav/lib/CalDAV/Proxy/ProxyMapper.php b/apps/dav/lib/CalDAV/Proxy/ProxyMapper.php
index d3657b306a9..6a569394c4b 100644
--- a/apps/dav/lib/CalDAV/Proxy/ProxyMapper.php
+++ b/apps/dav/lib/CalDAV/Proxy/ProxyMapper.php
@@ -22,9 +22,8 @@ declare(strict_types=1);
*
*/
-namespace OCA\DAV\CalDAV;
+namespace OCA\DAV\CalDAV\Proxy;
-use OCA\DAV\CalDAV\Delegation\Proxy;
use OCP\AppFramework\Db\QBMapper;
use OCP\IDBConnection;
@@ -39,6 +38,8 @@ class ProxyMapper extends QBMapper {
/**
* @param string $proxyId The userId that can act as a proxy for the resulting calendars
+ *
+ * @return Proxy[]
*/
public function getProxiesFor(string $proxyId): array {
$qb = $this->db->getQueryBuilder();
@@ -52,6 +53,8 @@ class ProxyMapper extends QBMapper {
/**
* @param string $ownerId The userId that has the resulting proxies for their calendars
+ *
+ * @return Proxy[]
*/
public function getProxiesOf(string $ownerId): array {
$qb = $this->db->getQueryBuilder();