@@ -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\Bundle\UserBundle\Security; |
| 15 | 15 | |
@@ -61,7 +61,7 @@ discard block |
||
| 61 | 61 | /** |
| 62 | 62 | * {@inheritdoc} |
| 63 | 63 | */ |
| 64 | - public function login(UserInterface $user, ?string $firewallName = null): void |
|
| 64 | + public function login(UserInterface $user, ?string $firewallName = null) : void |
|
| 65 | 65 | { |
| 66 | 66 | $firewallName = $firewallName ?? 'main'; |
| 67 | 67 | |
@@ -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\Bundle\UserBundle\Form\Model; |
| 15 | 15 | |
@@ -34,7 +34,7 @@ discard block |
||
| 34 | 34 | /** |
| 35 | 35 | * @param string|null $email |
| 36 | 36 | */ |
| 37 | - public function setEmail(?string $email): void |
|
| 37 | + public function setEmail(?string $email) : void |
|
| 38 | 38 | { |
| 39 | 39 | $this->email = $email; |
| 40 | 40 | } |
@@ -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\Bundle\UserBundle\Form\Model; |
| 15 | 15 | |
@@ -39,7 +39,7 @@ discard block |
||
| 39 | 39 | /** |
| 40 | 40 | * @param string|null $password |
| 41 | 41 | */ |
| 42 | - public function setCurrentPassword(?string $password): void |
|
| 42 | + public function setCurrentPassword(?string $password) : void |
|
| 43 | 43 | { |
| 44 | 44 | $this->currentPassword = $password; |
| 45 | 45 | } |
@@ -55,7 +55,7 @@ discard block |
||
| 55 | 55 | /** |
| 56 | 56 | * @param string $password |
| 57 | 57 | */ |
| 58 | - public function setNewPassword(?string $password): void |
|
| 58 | + public function setNewPassword(?string $password) : void |
|
| 59 | 59 | { |
| 60 | 60 | $this->newPassword = $password; |
| 61 | 61 | } |
@@ -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\Bundle\UserBundle\Form\Model; |
| 15 | 15 | |
@@ -34,7 +34,7 @@ discard block |
||
| 34 | 34 | /** |
| 35 | 35 | * @param string|null $password |
| 36 | 36 | */ |
| 37 | - public function setPassword(?string $password): void |
|
| 37 | + public function setPassword(?string $password) : void |
|
| 38 | 38 | { |
| 39 | 39 | $this->password = $password; |
| 40 | 40 | } |
@@ -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\Product\Model; |
| 15 | 15 | |
@@ -43,7 +43,7 @@ discard block |
||
| 43 | 43 | /** |
| 44 | 44 | * @param string|null $name |
| 45 | 45 | */ |
| 46 | - public function setName(?string $name): void; |
|
| 46 | + public function setName(?string $name) : void; |
|
| 47 | 47 | |
| 48 | 48 | /** |
| 49 | 49 | * @return string|null |
@@ -53,7 +53,7 @@ discard block |
||
| 53 | 53 | /** |
| 54 | 54 | * @param string|null $description |
| 55 | 55 | */ |
| 56 | - public function setDescription(?string $description): void; |
|
| 56 | + public function setDescription(?string $description) : void; |
|
| 57 | 57 | |
| 58 | 58 | /** |
| 59 | 59 | * @return string|null |
@@ -63,7 +63,7 @@ discard block |
||
| 63 | 63 | /** |
| 64 | 64 | * @param string|null $metaKeywords |
| 65 | 65 | */ |
| 66 | - public function setMetaKeywords(?string $metaKeywords): void; |
|
| 66 | + public function setMetaKeywords(?string $metaKeywords) : void; |
|
| 67 | 67 | |
| 68 | 68 | /** |
| 69 | 69 | * @return string|null |
@@ -73,7 +73,7 @@ discard block |
||
| 73 | 73 | /** |
| 74 | 74 | * @param string|null $metaDescription |
| 75 | 75 | */ |
| 76 | - public function setMetaDescription(?string $metaDescription): void; |
|
| 76 | + public function setMetaDescription(?string $metaDescription) : void; |
|
| 77 | 77 | |
| 78 | 78 | /** |
| 79 | 79 | * @return bool |
@@ -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\Product\Model; |
| 15 | 15 | |
@@ -49,7 +49,7 @@ discard block |
||
| 49 | 49 | /** |
| 50 | 50 | * {@inheritdoc} |
| 51 | 51 | */ |
| 52 | - public function setName(?string $name): void |
|
| 52 | + public function setName(?string $name) : void |
|
| 53 | 53 | { |
| 54 | 54 | $this->name = $name; |
| 55 | 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\Product\Model; |
| 15 | 15 | |
@@ -29,7 +29,7 @@ discard block |
||
| 29 | 29 | /** |
| 30 | 30 | * @param string|null $name |
| 31 | 31 | */ |
| 32 | - public function setName(?string $name): void; |
|
| 32 | + public function setName(?string $name) : void; |
|
| 33 | 33 | |
| 34 | 34 | /** |
| 35 | 35 | * @return string|null |
@@ -39,7 +39,7 @@ discard block |
||
| 39 | 39 | /** |
| 40 | 40 | * @param string|null $description |
| 41 | 41 | */ |
| 42 | - public function setDescription(?string $description): void; |
|
| 42 | + public function setDescription(?string $description) : void; |
|
| 43 | 43 | |
| 44 | 44 | /** |
| 45 | 45 | * @return string|null |
@@ -49,7 +49,7 @@ discard block |
||
| 49 | 49 | /** |
| 50 | 50 | * @param string|null $metaKeywords |
| 51 | 51 | */ |
| 52 | - public function setMetaKeywords(?string $metaKeywords): void; |
|
| 52 | + public function setMetaKeywords(?string $metaKeywords) : void; |
|
| 53 | 53 | |
| 54 | 54 | /** |
| 55 | 55 | * @return string|null |
@@ -59,5 +59,5 @@ discard block |
||
| 59 | 59 | /** |
| 60 | 60 | * @param string|null $metaDescription |
| 61 | 61 | */ |
| 62 | - public function setMetaDescription(?string $metaDescription): void; |
|
| 62 | + public function setMetaDescription(?string $metaDescription) : void; |
|
| 63 | 63 | } |
@@ -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\Product\Model; |
| 15 | 15 | |
@@ -72,7 +72,7 @@ discard block |
||
| 72 | 72 | /** |
| 73 | 73 | * {@inheritdoc} |
| 74 | 74 | */ |
| 75 | - public function setCode(?string $code): void |
|
| 75 | + public function setCode(?string $code) : void |
|
| 76 | 76 | { |
| 77 | 77 | $this->code = $code; |
| 78 | 78 | } |
@@ -88,7 +88,7 @@ discard block |
||
| 88 | 88 | /** |
| 89 | 89 | * {@inheritdoc} |
| 90 | 90 | */ |
| 91 | - public function setOption(?ProductOptionInterface $option): void |
|
| 91 | + public function setOption(?ProductOptionInterface $option) : void |
|
| 92 | 92 | { |
| 93 | 93 | $this->option = $option; |
| 94 | 94 | } |
@@ -104,7 +104,7 @@ discard block |
||
| 104 | 104 | /** |
| 105 | 105 | * {@inheritdoc} |
| 106 | 106 | */ |
| 107 | - public function setValue(?string $value): void |
|
| 107 | + public function setValue(?string $value) : void |
|
| 108 | 108 | { |
| 109 | 109 | $this->getTranslation()->setValue($value); |
| 110 | 110 | } |
@@ -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\Product\Model; |
| 15 | 15 | |
@@ -36,5 +36,5 @@ discard block |
||
| 36 | 36 | /** |
| 37 | 37 | * @param string|null $name |
| 38 | 38 | */ |
| 39 | - public function setName(?string $name): void; |
|
| 39 | + public function setName(?string $name) : void; |
|
| 40 | 40 | } |