summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/CardDAV
diff options
context:
space:
mode:
authorCarl Schwan <carl@carlschwan.eu>2022-11-25 11:46:18 +0100
committerCarl Schwan <carl@carlschwan.eu>2022-11-25 11:46:18 +0100
commit6828a3b28d6872cb24c6a6449a7634c38e3d5d88 (patch)
tree26426e05c10afe1f702bc4dc7005a4feefc6204c /apps/dav/lib/CardDAV
parent5f3585d8175bab56899883457313fafa442fc9dc (diff)
downloadnextcloud-server-6828a3b28d6872cb24c6a6449a7634c38e3d5d88.tar.gz
nextcloud-server-6828a3b28d6872cb24c6a6449a7634c38e3d5d88.zip
Cleanup contactsinteraction
- Add more typing and use PHP 7.4 typed properties Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Diffstat (limited to 'apps/dav/lib/CardDAV')
-rw-r--r--apps/dav/lib/CardDAV/Integration/ExternalAddressBook.php11
1 files changed, 2 insertions, 9 deletions
diff --git a/apps/dav/lib/CardDAV/Integration/ExternalAddressBook.php b/apps/dav/lib/CardDAV/Integration/ExternalAddressBook.php
index b1deb638f3d..bd394cb7fb6 100644
--- a/apps/dav/lib/CardDAV/Integration/ExternalAddressBook.php
+++ b/apps/dav/lib/CardDAV/Integration/ExternalAddressBook.php
@@ -50,16 +50,9 @@ abstract class ExternalAddressBook implements IAddressBook, DAV\IProperties {
*/
private const DELIMITER = '--';
- /** @var string */
- private $appId;
-
- /** @var string */
- private $uri;
+ private string $appId;
+ private string $uri;
- /**
- * @param string $appId
- * @param string $uri
- */
public function __construct(string $appId, string $uri) {
$this->appId = $appId;
$this->uri = $uri;