@@ -8,7 +8,7 @@ discard block |
||
8 | 8 | * an email on [email protected]. |
9 | 9 | */ |
10 | 10 | |
11 | -declare(strict_types=1); |
|
11 | +declare(strict_types = 1); |
|
12 | 12 | |
13 | 13 | namespace BitBag\CmsPlugin\Entity; |
14 | 14 | |
@@ -56,7 +56,7 @@ discard block |
||
56 | 56 | /** |
57 | 57 | * {@inheritdoc} |
58 | 58 | */ |
59 | - public function setName(?string $name): void |
|
59 | + public function setName(?string $name) : void |
|
60 | 60 | { |
61 | 61 | $this->name = $name; |
62 | 62 | } |
@@ -72,7 +72,7 @@ discard block |
||
72 | 72 | /** |
73 | 73 | * {@inheritdoc} |
74 | 74 | */ |
75 | - public function setContent(?string $content): void |
|
75 | + public function setContent(?string $content) : void |
|
76 | 76 | { |
77 | 77 | $this->content = $content; |
78 | 78 | } |
@@ -96,7 +96,7 @@ discard block |
||
96 | 96 | /** |
97 | 97 | * {@inheritdoc} |
98 | 98 | */ |
99 | - public function setImage(?ImageInterface $image): void |
|
99 | + public function setImage(?ImageInterface $image) : void |
|
100 | 100 | { |
101 | 101 | $image->setOwner($this); |
102 | 102 | |
@@ -114,7 +114,7 @@ discard block |
||
114 | 114 | /** |
115 | 115 | * {@inheritdoc} |
116 | 116 | */ |
117 | - public function setLink(?string $link): void |
|
117 | + public function setLink(?string $link) : void |
|
118 | 118 | { |
119 | 119 | $this->link = $link; |
120 | 120 | } |
@@ -8,7 +8,7 @@ discard block |
||
8 | 8 | * an email on [email protected]. |
9 | 9 | */ |
10 | 10 | |
11 | -declare(strict_types=1); |
|
11 | +declare(strict_types = 1); |
|
12 | 12 | |
13 | 13 | namespace BitBag\CmsPlugin\Entity; |
14 | 14 | |
@@ -67,7 +67,7 @@ discard block |
||
67 | 67 | /** |
68 | 68 | * {@inheritdoc} |
69 | 69 | */ |
70 | - public function setCode(?string $code): void |
|
70 | + public function setCode(?string $code) : void |
|
71 | 71 | { |
72 | 72 | $this->code = $code; |
73 | 73 | } |
@@ -83,7 +83,7 @@ discard block |
||
83 | 83 | /** |
84 | 84 | * {@inheritdoc} |
85 | 85 | */ |
86 | - public function setType(?string $type): void |
|
86 | + public function setType(?string $type) : void |
|
87 | 87 | { |
88 | 88 | $this->type = $type; |
89 | 89 | } |
@@ -99,7 +99,7 @@ discard block |
||
99 | 99 | /** |
100 | 100 | * {@inheritdoc} |
101 | 101 | */ |
102 | - public function setName(?string $name): void |
|
102 | + public function setName(?string $name) : void |
|
103 | 103 | { |
104 | 104 | $this->getBlockTranslation()->setName($name); |
105 | 105 | } |
@@ -115,7 +115,7 @@ discard block |
||
115 | 115 | /** |
116 | 116 | * {@inheritdoc} |
117 | 117 | */ |
118 | - public function setContent(?string $content): void |
|
118 | + public function setContent(?string $content) : void |
|
119 | 119 | { |
120 | 120 | $this->getBlockTranslation()->setContent($content); |
121 | 121 | } |
@@ -131,7 +131,7 @@ discard block |
||
131 | 131 | /** |
132 | 132 | * {@inheritdoc} |
133 | 133 | */ |
134 | - public function setImage(?ImageInterface $image): void |
|
134 | + public function setImage(?ImageInterface $image) : void |
|
135 | 135 | { |
136 | 136 | $this->getBlockTranslation()->setImage($image); |
137 | 137 | } |
@@ -147,7 +147,7 @@ discard block |
||
147 | 147 | /** |
148 | 148 | * {@inheritdoc} |
149 | 149 | */ |
150 | - public function setLink(?string $link): void |
|
150 | + public function setLink(?string $link) : void |
|
151 | 151 | { |
152 | 152 | $this->getBlockTranslation()->setLink($link); |
153 | 153 | } |
@@ -8,7 +8,7 @@ discard block |
||
8 | 8 | * an email on [email protected]. |
9 | 9 | */ |
10 | 10 | |
11 | -declare(strict_types=1); |
|
11 | +declare(strict_types = 1); |
|
12 | 12 | |
13 | 13 | namespace BitBag\CmsPlugin\Entity; |
14 | 14 | |
@@ -60,7 +60,7 @@ discard block |
||
60 | 60 | /** |
61 | 61 | * {@inheritdoc} |
62 | 62 | */ |
63 | - public function setCode(?string $code): void |
|
63 | + public function setCode(?string $code) : void |
|
64 | 64 | { |
65 | 65 | $this->code = $code; |
66 | 66 | } |
@@ -76,7 +76,7 @@ discard block |
||
76 | 76 | /** |
77 | 77 | * {@inheritdoc} |
78 | 78 | */ |
79 | - public function setPosition(?int $position): void |
|
79 | + public function setPosition(?int $position) : void |
|
80 | 80 | { |
81 | 81 | $this->position = $position; |
82 | 82 | } |
@@ -92,7 +92,7 @@ discard block |
||
92 | 92 | /** |
93 | 93 | * {@inheritdoc} |
94 | 94 | */ |
95 | - public function setQuestion(?string $question): void |
|
95 | + public function setQuestion(?string $question) : void |
|
96 | 96 | { |
97 | 97 | $this->getFrequentlyAskedQuestionTranslation()->setQuestion($question); |
98 | 98 | } |
@@ -108,7 +108,7 @@ discard block |
||
108 | 108 | /** |
109 | 109 | * {@inheritdoc} |
110 | 110 | */ |
111 | - public function setAnswer(?string $answer): void |
|
111 | + public function setAnswer(?string $answer) : void |
|
112 | 112 | { |
113 | 113 | $this->getFrequentlyAskedQuestionTranslation()->setAnswer($answer); |
114 | 114 | } |
@@ -8,7 +8,7 @@ discard block |
||
8 | 8 | * an email on [email protected]. |
9 | 9 | */ |
10 | 10 | |
11 | -declare(strict_types=1); |
|
11 | +declare(strict_types = 1); |
|
12 | 12 | |
13 | 13 | namespace BitBag\CmsPlugin\Entity; |
14 | 14 | |
@@ -29,7 +29,7 @@ discard block |
||
29 | 29 | /** |
30 | 30 | * @param null|string $code |
31 | 31 | */ |
32 | - public function setCode(?string $code): void; |
|
32 | + public function setCode(?string $code) : void; |
|
33 | 33 | |
34 | 34 | /** |
35 | 35 | * @return null|int |
@@ -39,7 +39,7 @@ discard block |
||
39 | 39 | /** |
40 | 40 | * @param null|int $position |
41 | 41 | */ |
42 | - public function setPosition(?int $position): void; |
|
42 | + public function setPosition(?int $position) : void; |
|
43 | 43 | |
44 | 44 | /** |
45 | 45 | * @return null|string |
@@ -49,7 +49,7 @@ discard block |
||
49 | 49 | /** |
50 | 50 | * @param null|string $question |
51 | 51 | */ |
52 | - public function setQuestion(?string $question): void; |
|
52 | + public function setQuestion(?string $question) : void; |
|
53 | 53 | |
54 | 54 | /** |
55 | 55 | * @return null|string |
@@ -59,5 +59,5 @@ discard block |
||
59 | 59 | /** |
60 | 60 | * @param null|string $answer |
61 | 61 | */ |
62 | - public function setAnswer(?string $answer): void; |
|
62 | + public function setAnswer(?string $answer) : void; |
|
63 | 63 | } |
@@ -8,7 +8,7 @@ |
||
8 | 8 | * an email on [email protected]. |
9 | 9 | */ |
10 | 10 | |
11 | -declare(strict_types=1); |
|
11 | +declare(strict_types = 1); |
|
12 | 12 | |
13 | 13 | namespace BitBag\CmsPlugin\Entity; |
14 | 14 |
@@ -8,7 +8,7 @@ discard block |
||
8 | 8 | * an email on [email protected]. |
9 | 9 | */ |
10 | 10 | |
11 | -declare(strict_types=1); |
|
11 | +declare(strict_types = 1); |
|
12 | 12 | |
13 | 13 | namespace BitBag\CmsPlugin\Entity; |
14 | 14 | |
@@ -29,7 +29,7 @@ discard block |
||
29 | 29 | /** |
30 | 30 | * @param null|string $name |
31 | 31 | */ |
32 | - public function setName(?string $name): void; |
|
32 | + public function setName(?string $name) : void; |
|
33 | 33 | |
34 | 34 | /** |
35 | 35 | * @return null|string |
@@ -39,7 +39,7 @@ discard block |
||
39 | 39 | /** |
40 | 40 | * @param string $content |
41 | 41 | */ |
42 | - public function setContent(?string $content): void; |
|
42 | + public function setContent(?string $content) : void; |
|
43 | 43 | |
44 | 44 | /** |
45 | 45 | * @return ImageInterface|null |
@@ -49,7 +49,7 @@ discard block |
||
49 | 49 | /** |
50 | 50 | * @param ImageInterface $image |
51 | 51 | */ |
52 | - public function setImage(?ImageInterface $image): void; |
|
52 | + public function setImage(?ImageInterface $image) : void; |
|
53 | 53 | |
54 | 54 | /** |
55 | 55 | * @return null|string |
@@ -59,5 +59,5 @@ discard block |
||
59 | 59 | /** |
60 | 60 | * @param null|string $link |
61 | 61 | */ |
62 | - public function setLink(?string $link): void; |
|
62 | + public function setLink(?string $link) : void; |
|
63 | 63 | } |
@@ -8,7 +8,7 @@ discard block |
||
8 | 8 | * an email on [email protected]. |
9 | 9 | */ |
10 | 10 | |
11 | -declare(strict_types=1); |
|
11 | +declare(strict_types = 1); |
|
12 | 12 | |
13 | 13 | namespace BitBag\CmsPlugin\Entity; |
14 | 14 | |
@@ -30,7 +30,7 @@ discard block |
||
30 | 30 | /** |
31 | 31 | * @param null|string $slug |
32 | 32 | */ |
33 | - public function setSlug(?string $slug): void; |
|
33 | + public function setSlug(?string $slug) : void; |
|
34 | 34 | |
35 | 35 | /** |
36 | 36 | * @return null|string |
@@ -40,7 +40,7 @@ discard block |
||
40 | 40 | /** |
41 | 41 | * @param null|string $code |
42 | 42 | */ |
43 | - public function setCode(?string $code): void; |
|
43 | + public function setCode(?string $code) : void; |
|
44 | 44 | |
45 | 45 | /** |
46 | 46 | * @return null|string |
@@ -50,7 +50,7 @@ discard block |
||
50 | 50 | /** |
51 | 51 | * @param null|string $metaKeywords |
52 | 52 | */ |
53 | - public function setMetaKeywords(?string $metaKeywords): void; |
|
53 | + public function setMetaKeywords(?string $metaKeywords) : void; |
|
54 | 54 | |
55 | 55 | /** |
56 | 56 | * @return null|string |
@@ -60,7 +60,7 @@ discard block |
||
60 | 60 | /** |
61 | 61 | * @param null|string $metaDescription |
62 | 62 | */ |
63 | - public function setMetaDescription(?string $metaDescription): void; |
|
63 | + public function setMetaDescription(?string $metaDescription) : void; |
|
64 | 64 | |
65 | 65 | /** |
66 | 66 | * @return null|string |
@@ -70,7 +70,7 @@ discard block |
||
70 | 70 | /** |
71 | 71 | * @param string $content |string |
72 | 72 | */ |
73 | - public function setContent(?string $content): void; |
|
73 | + public function setContent(?string $content) : void; |
|
74 | 74 | |
75 | 75 | /** |
76 | 76 | * @return null|string |
@@ -80,5 +80,5 @@ discard block |
||
80 | 80 | /** |
81 | 81 | * @param null|string $name |
82 | 82 | */ |
83 | - public function setName(?string $name): void; |
|
83 | + public function setName(?string $name) : void; |
|
84 | 84 | } |
@@ -8,7 +8,7 @@ |
||
8 | 8 | * an email on [email protected]. |
9 | 9 | */ |
10 | 10 | |
11 | -declare(strict_types=1); |
|
11 | +declare(strict_types = 1); |
|
12 | 12 | |
13 | 13 | namespace BitBag\CmsPlugin\Entity; |
14 | 14 |
@@ -8,7 +8,7 @@ discard block |
||
8 | 8 | * an email on [email protected]. |
9 | 9 | */ |
10 | 10 | |
11 | -declare(strict_types=1); |
|
11 | +declare(strict_types = 1); |
|
12 | 12 | |
13 | 13 | namespace BitBag\CmsPlugin\Entity; |
14 | 14 | |
@@ -74,7 +74,7 @@ discard block |
||
74 | 74 | /** |
75 | 75 | * {@inheritdoc} |
76 | 76 | */ |
77 | - public function setContent(?string $content): void |
|
77 | + public function setContent(?string $content) : void |
|
78 | 78 | { |
79 | 79 | $this->content = $content; |
80 | 80 | } |
@@ -90,7 +90,7 @@ discard block |
||
90 | 90 | /** |
91 | 91 | * {@inheritdoc} |
92 | 92 | */ |
93 | - public function setSlug(?string $slug): void |
|
93 | + public function setSlug(?string $slug) : void |
|
94 | 94 | { |
95 | 95 | $this->slug = $slug; |
96 | 96 | } |
@@ -106,7 +106,7 @@ discard block |
||
106 | 106 | /** |
107 | 107 | * {@inheritdoc} |
108 | 108 | */ |
109 | - public function setName(?string $name): void |
|
109 | + public function setName(?string $name) : void |
|
110 | 110 | { |
111 | 111 | $this->name = $name; |
112 | 112 | } |
@@ -122,7 +122,7 @@ discard block |
||
122 | 122 | /** |
123 | 123 | * {@inheritdoc} |
124 | 124 | */ |
125 | - public function setMetaKeywords(?string $metaKeywords): void |
|
125 | + public function setMetaKeywords(?string $metaKeywords) : void |
|
126 | 126 | { |
127 | 127 | $this->metaKeywords = $metaKeywords; |
128 | 128 | } |
@@ -138,7 +138,7 @@ discard block |
||
138 | 138 | /** |
139 | 139 | * {@inheritdoc} |
140 | 140 | */ |
141 | - public function setMetaDescription(?string $metaDescription): void |
|
141 | + public function setMetaDescription(?string $metaDescription) : void |
|
142 | 142 | { |
143 | 143 | $this->metaDescription = $metaDescription; |
144 | 144 | } |