@@ -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 | |
@@ -69,7 +69,7 @@ discard block |
||
69 | 69 | /** |
70 | 70 | * {@inheritdoc} |
71 | 71 | */ |
72 | - public function getCode(): ?string |
|
72 | + public function getCode(): ? string |
|
73 | 73 | { |
74 | 74 | return $this->code; |
75 | 75 | } |
@@ -77,7 +77,7 @@ discard block |
||
77 | 77 | /** |
78 | 78 | * {@inheritdoc} |
79 | 79 | */ |
80 | - public function setCode(?string $code): void |
|
80 | + public function setCode(? string $code) : void |
|
81 | 81 | { |
82 | 82 | $this->code = $code; |
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\Currency\Model; |
15 | 15 | |
@@ -65,7 +65,7 @@ discard block |
||
65 | 65 | /** |
66 | 66 | * {@inheritdoc} |
67 | 67 | */ |
68 | - public function getCode(): ?string |
|
68 | + public function getCode(): ? string |
|
69 | 69 | { |
70 | 70 | return $this->code; |
71 | 71 | } |
@@ -73,7 +73,7 @@ discard block |
||
73 | 73 | /** |
74 | 74 | * {@inheritdoc} |
75 | 75 | */ |
76 | - public function setCode(?string $code): void |
|
76 | + public function setCode(? string $code) : void |
|
77 | 77 | { |
78 | 78 | $this->code = $code; |
79 | 79 | } |
@@ -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\Taxonomy\Model; |
15 | 15 | |
@@ -98,7 +98,7 @@ discard block |
||
98 | 98 | /** |
99 | 99 | * {@inheritdoc} |
100 | 100 | */ |
101 | - public function getCode(): ?string |
|
101 | + public function getCode(): ? string |
|
102 | 102 | { |
103 | 103 | return $this->code; |
104 | 104 | } |
@@ -106,7 +106,7 @@ discard block |
||
106 | 106 | /** |
107 | 107 | * {@inheritdoc} |
108 | 108 | */ |
109 | - public function setCode(?string $code): void |
|
109 | + public function setCode(? string $code) : void |
|
110 | 110 | { |
111 | 111 | $this->code = $code; |
112 | 112 | } |
@@ -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\Promotion\Model; |
15 | 15 | |
@@ -63,7 +63,7 @@ discard block |
||
63 | 63 | /** |
64 | 64 | * {@inheritdoc} |
65 | 65 | */ |
66 | - public function getCode(): ?string |
|
66 | + public function getCode(): ? string |
|
67 | 67 | { |
68 | 68 | return $this->code; |
69 | 69 | } |
@@ -71,7 +71,7 @@ discard block |
||
71 | 71 | /** |
72 | 72 | * {@inheritdoc} |
73 | 73 | */ |
74 | - public function setCode(?string $code): void |
|
74 | + public function setCode(? string $code) : void |
|
75 | 75 | { |
76 | 76 | $this->code = $code; |
77 | 77 | } |
@@ -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\Promotion\Model; |
15 | 15 | |
@@ -118,7 +118,7 @@ discard block |
||
118 | 118 | /** |
119 | 119 | * {@inheritdoc} |
120 | 120 | */ |
121 | - public function getCode(): ?string |
|
121 | + public function getCode(): ? string |
|
122 | 122 | { |
123 | 123 | return $this->code; |
124 | 124 | } |
@@ -126,7 +126,7 @@ discard block |
||
126 | 126 | /** |
127 | 127 | * {@inheritdoc} |
128 | 128 | */ |
129 | - public function setCode(?string $code): void |
|
129 | + public function setCode(? string $code) : void |
|
130 | 130 | { |
131 | 131 | $this->code = $code; |
132 | 132 | } |
@@ -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\Taxation\Model; |
15 | 15 | |
@@ -73,7 +73,7 @@ discard block |
||
73 | 73 | /** |
74 | 74 | * {@inheritdoc} |
75 | 75 | */ |
76 | - public function getCode(): ?string |
|
76 | + public function getCode(): ? string |
|
77 | 77 | { |
78 | 78 | return $this->code; |
79 | 79 | } |
@@ -81,7 +81,7 @@ discard block |
||
81 | 81 | /** |
82 | 82 | * {@inheritdoc} |
83 | 83 | */ |
84 | - public function setCode(?string $code): void |
|
84 | + public function setCode(? string $code) : void |
|
85 | 85 | { |
86 | 86 | $this->code = $code; |
87 | 87 | } |
@@ -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\Taxation\Model; |
15 | 15 | |
@@ -73,7 +73,7 @@ discard block |
||
73 | 73 | /** |
74 | 74 | * {@inheritdoc} |
75 | 75 | */ |
76 | - public function getCode(): ?string |
|
76 | + public function getCode(): ? string |
|
77 | 77 | { |
78 | 78 | return $this->code; |
79 | 79 | } |
@@ -81,7 +81,7 @@ discard block |
||
81 | 81 | /** |
82 | 82 | * {@inheritdoc} |
83 | 83 | */ |
84 | - public function setCode(?string $code): void |
|
84 | + public function setCode(? string $code) : void |
|
85 | 85 | { |
86 | 86 | $this->code = $code; |
87 | 87 | } |
@@ -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\Locale\Model; |
15 | 15 | |
@@ -57,7 +57,7 @@ discard block |
||
57 | 57 | /** |
58 | 58 | * {@inheritdoc} |
59 | 59 | */ |
60 | - public function getCode(): ?string |
|
60 | + public function getCode(): ? string |
|
61 | 61 | { |
62 | 62 | return $this->code; |
63 | 63 | } |
@@ -65,7 +65,7 @@ discard block |
||
65 | 65 | /** |
66 | 66 | * {@inheritdoc} |
67 | 67 | */ |
68 | - public function setCode(?string $code): void |
|
68 | + public function setCode(? string $code) : void |
|
69 | 69 | { |
70 | 70 | $this->code = $code; |
71 | 71 | } |
@@ -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\Channel\Model; |
15 | 15 | |
@@ -77,7 +77,7 @@ discard block |
||
77 | 77 | /** |
78 | 78 | * {@inheritdoc} |
79 | 79 | */ |
80 | - public function getCode(): ?string |
|
80 | + public function getCode(): ? string |
|
81 | 81 | { |
82 | 82 | return $this->code; |
83 | 83 | } |
@@ -85,7 +85,7 @@ discard block |
||
85 | 85 | /** |
86 | 86 | * {@inheritdoc} |
87 | 87 | */ |
88 | - public function setCode(?string $code): void |
|
88 | + public function setCode(? string $code) : void |
|
89 | 89 | { |
90 | 90 | $this->code = $code; |
91 | 91 | } |