aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/CardDAV/Xml/Groups.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/dav/lib/CardDAV/Xml/Groups.php')
-rw-r--r--apps/dav/lib/CardDAV/Xml/Groups.php10
1 files changed, 4 insertions, 6 deletions
diff --git a/apps/dav/lib/CardDAV/Xml/Groups.php b/apps/dav/lib/CardDAV/Xml/Groups.php
index 6100bac1aea..07aeecb3fa2 100644
--- a/apps/dav/lib/CardDAV/Xml/Groups.php
+++ b/apps/dav/lib/CardDAV/Xml/Groups.php
@@ -13,14 +13,12 @@ use Sabre\Xml\XmlSerializable;
class Groups implements XmlSerializable {
public const NS_OWNCLOUD = 'http://owncloud.org/ns';
- /** @var string[] of TYPE:CHECKSUM */
- private $groups;
-
/**
- * @param string $groups
+ * @param list<string> $groups
*/
- public function __construct($groups) {
- $this->groups = $groups;
+ public function __construct(
+ private array $groups,
+ ) {
}
public function xmlSerialize(Writer $writer) {