diff options
author | Carl Schwan <carl@carlschwan.eu> | 2022-11-25 11:46:18 +0100 |
---|---|---|
committer | Carl Schwan <carl@carlschwan.eu> | 2022-11-25 11:46:18 +0100 |
commit | 6828a3b28d6872cb24c6a6449a7634c38e3d5d88 (patch) | |
tree | 26426e05c10afe1f702bc4dc7005a4feefc6204c /apps/dav/lib/CardDAV | |
parent | 5f3585d8175bab56899883457313fafa442fc9dc (diff) | |
download | nextcloud-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.php | 11 |
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; |