Skip to content

Commit 286b274

Browse files
author
Pavel Chugunov
committed
DRAFT: Webhook: Billing
1 parent 0dea1c9 commit 286b274

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Billing.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class Billing implements BillingInterface
4949
/** @inheritDoc */
5050
public function getFirstName(): ?string
5151
{
52-
return $this->firstName;
52+
return $this->firstName ?? null;
5353
}
5454

5555
/** @inheritDoc */
@@ -62,7 +62,7 @@ public function setFirstName(string $firstName): self
6262
/** @inheritDoc */
6363
public function getLastName(): ?string
6464
{
65-
return $this->lastName;
65+
return $this->lastName ?? null;
6666
}
6767

6868
/** @inheritDoc */
@@ -75,7 +75,7 @@ public function setLastName(string $lastName): self
7575
/** @inheritDoc */
7676
public function getEmail(): ?string
7777
{
78-
return $this->email;
78+
return $this->email ?? null;
7979
}
8080

8181
/** @inheritDoc */

0 commit comments

Comments
 (0)