mirror of
https://github.com/friendica/friendica
synced 2024-12-22 18:40:17 +00:00
Add nullability to InstanceV2 Contact type for account parameter
This commit is contained in:
parent
d8aa8772cd
commit
0f811abc50
1 changed files with 2 additions and 2 deletions
|
@ -39,9 +39,9 @@ class Contact extends BaseDataTransferObject
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param string $email
|
* @param string $email
|
||||||
* @param Account $account
|
* @param Account|null $account
|
||||||
*/
|
*/
|
||||||
public function __construct(string $email, Account $account)
|
public function __construct(string $email, ?Account $account)
|
||||||
{
|
{
|
||||||
$this->email = $email;
|
$this->email = $email;
|
||||||
$this->account = $account;
|
$this->account = $account;
|
||||||
|
|
Loading…
Reference in a new issue