Merge pull request #12845 from HankG/fix-instancev2-nullability

Add nullability to InstanceV2 Contact type for account parameter
This commit is contained in:
Michael Vogel 2023-02-26 16:10:00 +01:00 committed by GitHub
commit 4be9c180d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -39,9 +39,9 @@ class Contact extends BaseDataTransferObject
/**
* @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->account = $account;