mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-25 10:09:20 +03:00
refactor: remove repeated variable initialization
This commit is contained in:
parent
e5044ff10a
commit
dff305e645
1 changed files with 4 additions and 5 deletions
|
|
@ -8,11 +8,10 @@ class NextcloudAddressBook implements \RainLoop\Providers\AddressBook\AddressBoo
|
||||||
|
|
||||||
private const SETTINGS_KEY = 'nextcloudAddressBookUri';
|
private const SETTINGS_KEY = 'nextcloudAddressBookUri';
|
||||||
|
|
||||||
private string $defaultUri = 'webmail';
|
private string $defaultUri;
|
||||||
private string $defaultName = 'WebMail';
|
private string $defaultName;
|
||||||
private string $defaultDescription = 'Recipients from snappymail';
|
private string $defaultDescription;
|
||||||
private bool $ignoreSystemAddressBook = true;
|
private bool $ignoreSystemAddressBook;
|
||||||
|
|
||||||
private $contactsManager;
|
private $contactsManager;
|
||||||
|
|
||||||
function __construct(string $defaultUri = 'webmail', string $defaultName = 'WebMail', string $defaultDescription = 'Recipients from snappymail', bool $ignoreSystemAddressBook = true)
|
function __construct(string $defaultUri = 'webmail', string $defaultName = 'WebMail', string $defaultDescription = 'Recipients from snappymail', bool $ignoreSystemAddressBook = true)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue