@@ -25,6 +25,7 @@ |
||
| 25 | 25 | |
| 26 | 26 | /** |
| 27 | 27 | * @param CustomerInterface|null $customer |
| 28 | + * @return void |
|
| 28 | 29 | */ |
| 29 | 30 | public function setCustomer(?CustomerInterface $customer): void; |
| 30 | 31 | } |
@@ -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\Customer\Model; |
| 15 | 15 | |
@@ -26,5 +26,5 @@ discard block |
||
| 26 | 26 | /** |
| 27 | 27 | * @param CustomerInterface|null $customer |
| 28 | 28 | */ |
| 29 | - public function setCustomer(?CustomerInterface $customer): void; |
|
| 29 | + public function setCustomer(?CustomerInterface $customer) : void; |
|
| 30 | 30 | } |
@@ -29,6 +29,7 @@ |
||
| 29 | 29 | |
| 30 | 30 | /** |
| 31 | 31 | * @param string|null $name |
| 32 | + * @return void |
|
| 32 | 33 | */ |
| 33 | 34 | public function setName(?string $name): void; |
| 34 | 35 | } |
@@ -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\Customer\Model; |
| 15 | 15 | |
@@ -30,5 +30,5 @@ discard block |
||
| 30 | 30 | /** |
| 31 | 31 | * @param string|null $name |
| 32 | 32 | */ |
| 33 | - public function setName(?string $name): void; |
|
| 33 | + public function setName(?string $name) : void; |
|
| 34 | 34 | } |
@@ -32,6 +32,7 @@ discard block |
||
| 32 | 32 | |
| 33 | 33 | /** |
| 34 | 34 | * @param string|null $email |
| 35 | + * @return void |
|
| 35 | 36 | */ |
| 36 | 37 | public function setEmail(?string $email): void; |
| 37 | 38 | |
@@ -44,6 +45,7 @@ discard block |
||
| 44 | 45 | |
| 45 | 46 | /** |
| 46 | 47 | * @param string|null $emailCanonical |
| 48 | + * @return void |
|
| 47 | 49 | */ |
| 48 | 50 | public function setEmailCanonical(?string $emailCanonical): void; |
| 49 | 51 | |
@@ -59,6 +61,7 @@ discard block |
||
| 59 | 61 | |
| 60 | 62 | /** |
| 61 | 63 | * @param string|null $firstName |
| 64 | + * @return void |
|
| 62 | 65 | */ |
| 63 | 66 | public function setFirstName(?string $firstName): void; |
| 64 | 67 | |
@@ -69,6 +72,7 @@ discard block |
||
| 69 | 72 | |
| 70 | 73 | /** |
| 71 | 74 | * @param string|null $lastName |
| 75 | + * @return void |
|
| 72 | 76 | */ |
| 73 | 77 | public function setLastName(?string $lastName): void; |
| 74 | 78 | |
@@ -79,6 +83,7 @@ discard block |
||
| 79 | 83 | |
| 80 | 84 | /** |
| 81 | 85 | * @param \DateTimeInterface|null $birthday |
| 86 | + * @return void |
|
| 82 | 87 | */ |
| 83 | 88 | public function setBirthday(?\DateTimeInterface $birthday): void; |
| 84 | 89 | |
@@ -91,6 +96,7 @@ discard block |
||
| 91 | 96 | * You should use interface constants for that. |
| 92 | 97 | * |
| 93 | 98 | * @param string $gender |
| 99 | + * @return void |
|
| 94 | 100 | */ |
| 95 | 101 | public function setGender(string $gender): void; |
| 96 | 102 | |
@@ -111,6 +117,7 @@ discard block |
||
| 111 | 117 | |
| 112 | 118 | /** |
| 113 | 119 | * @param CustomerGroupInterface|null $group |
| 120 | + * @return void |
|
| 114 | 121 | */ |
| 115 | 122 | public function setGroup(?CustomerGroupInterface $group): void; |
| 116 | 123 | |
@@ -121,6 +128,7 @@ discard block |
||
| 121 | 128 | |
| 122 | 129 | /** |
| 123 | 130 | * @param string|null $phoneNumber |
| 131 | + * @return void |
|
| 124 | 132 | */ |
| 125 | 133 | public function setPhoneNumber(?string $phoneNumber): void; |
| 126 | 134 | |
@@ -131,6 +139,7 @@ discard block |
||
| 131 | 139 | |
| 132 | 140 | /** |
| 133 | 141 | * @param bool $subscribedToNewsletter |
| 142 | + * @return void |
|
| 134 | 143 | */ |
| 135 | 144 | public function setSubscribedToNewsletter(bool $subscribedToNewsletter): void; |
| 136 | 145 | } |
@@ -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\Customer\Model; |
| 15 | 15 | |
@@ -33,7 +33,7 @@ discard block |
||
| 33 | 33 | /** |
| 34 | 34 | * @param string|null $email |
| 35 | 35 | */ |
| 36 | - public function setEmail(?string $email): void; |
|
| 36 | + public function setEmail(?string $email) : void; |
|
| 37 | 37 | |
| 38 | 38 | /** |
| 39 | 39 | * Gets normalized email (should be used in search and sort queries). |
@@ -45,7 +45,7 @@ discard block |
||
| 45 | 45 | /** |
| 46 | 46 | * @param string|null $emailCanonical |
| 47 | 47 | */ |
| 48 | - public function setEmailCanonical(?string $emailCanonical): void; |
|
| 48 | + public function setEmailCanonical(?string $emailCanonical) : void; |
|
| 49 | 49 | |
| 50 | 50 | /** |
| 51 | 51 | * @return string |
@@ -60,7 +60,7 @@ discard block |
||
| 60 | 60 | /** |
| 61 | 61 | * @param string|null $firstName |
| 62 | 62 | */ |
| 63 | - public function setFirstName(?string $firstName): void; |
|
| 63 | + public function setFirstName(?string $firstName) : void; |
|
| 64 | 64 | |
| 65 | 65 | /** |
| 66 | 66 | * @return string|null |
@@ -70,7 +70,7 @@ discard block |
||
| 70 | 70 | /** |
| 71 | 71 | * @param string|null $lastName |
| 72 | 72 | */ |
| 73 | - public function setLastName(?string $lastName): void; |
|
| 73 | + public function setLastName(?string $lastName) : void; |
|
| 74 | 74 | |
| 75 | 75 | /** |
| 76 | 76 | * @return \DateTimeInterface|null |
@@ -80,7 +80,7 @@ discard block |
||
| 80 | 80 | /** |
| 81 | 81 | * @param \DateTimeInterface|null $birthday |
| 82 | 82 | */ |
| 83 | - public function setBirthday(?\DateTimeInterface $birthday): void; |
|
| 83 | + public function setBirthday(?\DateTimeInterface $birthday) : void; |
|
| 84 | 84 | |
| 85 | 85 | /** |
| 86 | 86 | * @return string |
@@ -112,7 +112,7 @@ discard block |
||
| 112 | 112 | /** |
| 113 | 113 | * @param CustomerGroupInterface|null $group |
| 114 | 114 | */ |
| 115 | - public function setGroup(?CustomerGroupInterface $group): void; |
|
| 115 | + public function setGroup(?CustomerGroupInterface $group) : void; |
|
| 116 | 116 | |
| 117 | 117 | /** |
| 118 | 118 | * @return string|null |
@@ -122,7 +122,7 @@ discard block |
||
| 122 | 122 | /** |
| 123 | 123 | * @param string|null $phoneNumber |
| 124 | 124 | */ |
| 125 | - public function setPhoneNumber(?string $phoneNumber): void; |
|
| 125 | + public function setPhoneNumber(?string $phoneNumber) : void; |
|
| 126 | 126 | |
| 127 | 127 | /** |
| 128 | 128 | * @return bool |
@@ -27,6 +27,7 @@ discard block |
||
| 27 | 27 | |
| 28 | 28 | /** |
| 29 | 29 | * @param string|null $email |
| 30 | + * @return void |
|
| 30 | 31 | */ |
| 31 | 32 | public function setEmail(?string $email): void; |
| 32 | 33 | |
@@ -37,6 +38,7 @@ discard block |
||
| 37 | 38 | |
| 38 | 39 | /** |
| 39 | 40 | * @param string|null $firstName |
| 41 | + * @return void |
|
| 40 | 42 | */ |
| 41 | 43 | public function setFirstName(?string $firstName): void; |
| 42 | 44 | |
@@ -47,6 +49,7 @@ discard block |
||
| 47 | 49 | |
| 48 | 50 | /** |
| 49 | 51 | * @param string|null $lastName |
| 52 | + * @return void |
|
| 50 | 53 | */ |
| 51 | 54 | public function setLastName(?string $lastName): void; |
| 52 | 55 | } |
@@ -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\Review\Model; |
| 15 | 15 | |
@@ -28,7 +28,7 @@ discard block |
||
| 28 | 28 | /** |
| 29 | 29 | * @param string|null $email |
| 30 | 30 | */ |
| 31 | - public function setEmail(?string $email): void; |
|
| 31 | + public function setEmail(?string $email) : void; |
|
| 32 | 32 | |
| 33 | 33 | /** |
| 34 | 34 | * @return string|null |
@@ -38,7 +38,7 @@ discard block |
||
| 38 | 38 | /** |
| 39 | 39 | * @param string|null $firstName |
| 40 | 40 | */ |
| 41 | - public function setFirstName(?string $firstName): void; |
|
| 41 | + public function setFirstName(?string $firstName) : void; |
|
| 42 | 42 | |
| 43 | 43 | /** |
| 44 | 44 | * @return string|null |
@@ -48,5 +48,5 @@ discard block |
||
| 48 | 48 | /** |
| 49 | 49 | * @param string|null $lastName |
| 50 | 50 | */ |
| 51 | - public function setLastName(?string $lastName): void; |
|
| 51 | + public function setLastName(?string $lastName) : void; |
|
| 52 | 52 | } |
@@ -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\Customer\Model; |
| 15 | 15 | |
@@ -61,7 +61,7 @@ discard block |
||
| 61 | 61 | /** |
| 62 | 62 | * {@inheritdoc} |
| 63 | 63 | */ |
| 64 | - public function setCode(?string $code): void |
|
| 64 | + public function setCode(?string $code) : void |
|
| 65 | 65 | { |
| 66 | 66 | $this->code = $code; |
| 67 | 67 | } |
@@ -77,7 +77,7 @@ discard block |
||
| 77 | 77 | /** |
| 78 | 78 | * {@inheritdoc} |
| 79 | 79 | */ |
| 80 | - public function setName(?string $name): void |
|
| 80 | + public function setName(?string $name) : void |
|
| 81 | 81 | { |
| 82 | 82 | $this->name = $name; |
| 83 | 83 | } |
@@ -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\Customer\Model; |
| 15 | 15 | |
@@ -104,7 +104,7 @@ discard block |
||
| 104 | 104 | /** |
| 105 | 105 | * {@inheritdoc} |
| 106 | 106 | */ |
| 107 | - public function setEmail(?string $email): void |
|
| 107 | + public function setEmail(?string $email) : void |
|
| 108 | 108 | { |
| 109 | 109 | $this->email = $email; |
| 110 | 110 | } |
@@ -120,7 +120,7 @@ discard block |
||
| 120 | 120 | /** |
| 121 | 121 | * {@inheritdoc} |
| 122 | 122 | */ |
| 123 | - public function setEmailCanonical(?string $emailCanonical): void |
|
| 123 | + public function setEmailCanonical(?string $emailCanonical) : void |
|
| 124 | 124 | { |
| 125 | 125 | $this->emailCanonical = $emailCanonical; |
| 126 | 126 | } |
@@ -144,7 +144,7 @@ discard block |
||
| 144 | 144 | /** |
| 145 | 145 | * {@inheritdoc} |
| 146 | 146 | */ |
| 147 | - public function setFirstName(?string $firstName): void |
|
| 147 | + public function setFirstName(?string $firstName) : void |
|
| 148 | 148 | { |
| 149 | 149 | $this->firstName = $firstName; |
| 150 | 150 | } |
@@ -160,7 +160,7 @@ discard block |
||
| 160 | 160 | /** |
| 161 | 161 | * {@inheritdoc} |
| 162 | 162 | */ |
| 163 | - public function setLastName(?string $lastName): void |
|
| 163 | + public function setLastName(?string $lastName) : void |
|
| 164 | 164 | { |
| 165 | 165 | $this->lastName = $lastName; |
| 166 | 166 | } |
@@ -176,7 +176,7 @@ discard block |
||
| 176 | 176 | /** |
| 177 | 177 | * {@inheritdoc} |
| 178 | 178 | */ |
| 179 | - public function setBirthday(?\DateTimeInterface $birthday): void |
|
| 179 | + public function setBirthday(?\DateTimeInterface $birthday) : void |
|
| 180 | 180 | { |
| 181 | 181 | $this->birthday = $birthday; |
| 182 | 182 | } |
@@ -224,7 +224,7 @@ discard block |
||
| 224 | 224 | /** |
| 225 | 225 | * {@inheritdoc} |
| 226 | 226 | */ |
| 227 | - public function setGroup(?CustomerGroupInterface $group): void |
|
| 227 | + public function setGroup(?CustomerGroupInterface $group) : void |
|
| 228 | 228 | { |
| 229 | 229 | $this->group = $group; |
| 230 | 230 | } |
@@ -240,7 +240,7 @@ discard block |
||
| 240 | 240 | /** |
| 241 | 241 | * {@inheritdoc} |
| 242 | 242 | */ |
| 243 | - public function setPhoneNumber(?string $phoneNumber): void |
|
| 243 | + public function setPhoneNumber(?string $phoneNumber) : void |
|
| 244 | 244 | { |
| 245 | 245 | $this->phoneNumber = $phoneNumber; |
| 246 | 246 | } |
@@ -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 | |
@@ -38,7 +38,7 @@ discard block |
||
| 38 | 38 | /** |
| 39 | 39 | * {@inheritdoc} |
| 40 | 40 | */ |
| 41 | - public function setCustomer(?BaseCustomerInterface $customer): void |
|
| 41 | + public function setCustomer(?BaseCustomerInterface $customer) : void |
|
| 42 | 42 | { |
| 43 | 43 | if ($this->customer !== $customer) { |
| 44 | 44 | $this->customer = $customer; |
@@ -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 | |
@@ -127,7 +127,7 @@ discard block |
||
| 127 | 127 | /** |
| 128 | 128 | * {@inheritdoc} |
| 129 | 129 | */ |
| 130 | - public function setCustomer(?BaseCustomerInterface $customer): void |
|
| 130 | + public function setCustomer(?BaseCustomerInterface $customer) : void |
|
| 131 | 131 | { |
| 132 | 132 | $this->customer = $customer; |
| 133 | 133 | } |
@@ -143,7 +143,7 @@ discard block |
||
| 143 | 143 | /** |
| 144 | 144 | * {@inheritdoc} |
| 145 | 145 | */ |
| 146 | - public function setChannel(?BaseChannelInterface $channel): void |
|
| 146 | + public function setChannel(?BaseChannelInterface $channel) : void |
|
| 147 | 147 | { |
| 148 | 148 | $this->channel = $channel; |
| 149 | 149 | } |
@@ -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\Review\Model; |
| 15 | 15 | |
@@ -57,7 +57,7 @@ discard block |
||
| 57 | 57 | /** |
| 58 | 58 | * {@inheritdoc} |
| 59 | 59 | */ |
| 60 | - public function setEmail(?string $email): void |
|
| 60 | + public function setEmail(?string $email) : void |
|
| 61 | 61 | { |
| 62 | 62 | $this->email = $email; |
| 63 | 63 | } |
@@ -73,7 +73,7 @@ discard block |
||
| 73 | 73 | /** |
| 74 | 74 | * {@inheritdoc} |
| 75 | 75 | */ |
| 76 | - public function setFirstName(?string $firstName): void |
|
| 76 | + public function setFirstName(?string $firstName) : void |
|
| 77 | 77 | { |
| 78 | 78 | $this->firstName = $firstName; |
| 79 | 79 | } |
@@ -89,7 +89,7 @@ discard block |
||
| 89 | 89 | /** |
| 90 | 90 | * {@inheritdoc} |
| 91 | 91 | */ |
| 92 | - public function setLastName(?string $lastName): void |
|
| 92 | + public function setLastName(?string $lastName) : void |
|
| 93 | 93 | { |
| 94 | 94 | $this->lastName = $lastName; |
| 95 | 95 | } |