From 6828a3b28d6872cb24c6a6449a7634c38e3d5d88 Mon Sep 17 00:00:00 2001 From: Carl Schwan Date: Fri, 25 Nov 2022 11:46:18 +0100 Subject: Cleanup contactsinteraction - Add more typing and use PHP 7.4 typed properties Signed-off-by: Carl Schwan --- apps/dav/lib/CardDAV/Integration/ExternalAddressBook.php | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'apps/dav/lib') 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; -- cgit v1.2.3