@@ -15,7 +15,6 @@ |
||
15 | 15 | |
16 | 16 | use Sylius\Component\Customer\Model\CustomerInterface as BaseCustomerInterface; |
17 | 17 | use Sylius\Component\User\Model\User as BaseUser; |
18 | -use Webmozart\Assert\Assert; |
|
19 | 18 | |
20 | 19 | /** |
21 | 20 | * @author Paweł Jędrzejewski <[email protected]> |
@@ -9,7 +9,7 @@ discard block |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace Sylius\Component\Core\Model; |
15 | 15 | |
@@ -39,7 +39,7 @@ discard block |
||
39 | 39 | /** |
40 | 40 | * {@inheritdoc} |
41 | 41 | */ |
42 | - public function setCustomer(?BaseCustomerInterface $customer): void |
|
42 | + public function setCustomer(?BaseCustomerInterface $customer) : void |
|
43 | 43 | { |
44 | 44 | if ($this->customer === $customer) { |
45 | 45 | return; |
@@ -67,7 +67,7 @@ discard block |
||
67 | 67 | /** |
68 | 68 | * {@inheritdoc} |
69 | 69 | */ |
70 | - public function setEmail(?string $email): void |
|
70 | + public function setEmail(?string $email) : void |
|
71 | 71 | { |
72 | 72 | $this->customer->setEmail($email); |
73 | 73 | } |
@@ -83,7 +83,7 @@ discard block |
||
83 | 83 | /** |
84 | 84 | * {@inheritdoc} |
85 | 85 | */ |
86 | - public function setEmailCanonical(?string $emailCanonical): void |
|
86 | + public function setEmailCanonical(?string $emailCanonical) : void |
|
87 | 87 | { |
88 | 88 | $this->customer->setEmailCanonical($emailCanonical); |
89 | 89 | } |
@@ -129,7 +129,7 @@ |
||
129 | 129 | */ |
130 | 130 | public function setUser(?BaseUserInterface $user): void |
131 | 131 | { |
132 | - if ($this->user === $user) { |
|
132 | + if ($this->user === $user) { |
|
133 | 133 | return; |
134 | 134 | } |
135 | 135 |
@@ -9,7 +9,7 @@ discard block |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace Sylius\Component\Core\Model; |
15 | 15 | |
@@ -71,7 +71,7 @@ discard block |
||
71 | 71 | /** |
72 | 72 | * {@inheritdoc} |
73 | 73 | */ |
74 | - public function setDefaultAddress(?AddressInterface $defaultAddress): void |
|
74 | + public function setDefaultAddress(?AddressInterface $defaultAddress) : void |
|
75 | 75 | { |
76 | 76 | $this->defaultAddress = $defaultAddress; |
77 | 77 | |
@@ -127,7 +127,7 @@ discard block |
||
127 | 127 | /** |
128 | 128 | * {@inheritdoc} |
129 | 129 | */ |
130 | - public function setUser(?BaseUserInterface $user): void |
|
130 | + public function setUser(?BaseUserInterface $user) : void |
|
131 | 131 | { |
132 | 132 | if ($this->user === $user) { |
133 | 133 | return; |