@@ -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\EventListener; |
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 | |
@@ -55,7 +55,7 @@ discard block |
||
55 | 55 | /** |
56 | 56 | * {@inheritdoc} |
57 | 57 | */ |
58 | - public function setId(?int $id): void |
|
58 | + public function setId(?int $id) : void |
|
59 | 59 | { |
60 | 60 | $this->id = $id; |
61 | 61 | } |
@@ -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 | } |
@@ -87,7 +87,7 @@ discard block |
||
87 | 87 | /** |
88 | 88 | * {@inheritdoc} |
89 | 89 | */ |
90 | - public function setSlug(?string $slug): void |
|
90 | + public function setSlug(?string $slug) : void |
|
91 | 91 | { |
92 | 92 | $this->getPageTranslation()->setSlug($slug); |
93 | 93 | } |
@@ -103,7 +103,7 @@ discard block |
||
103 | 103 | /** |
104 | 104 | * {@inheritdoc} |
105 | 105 | */ |
106 | - public function setMetaKeywords(?string $metaKeywords): void |
|
106 | + public function setMetaKeywords(?string $metaKeywords) : void |
|
107 | 107 | { |
108 | 108 | $this->getPageTranslation()->setMetaKeywords($metaKeywords); |
109 | 109 | } |
@@ -119,7 +119,7 @@ discard block |
||
119 | 119 | /** |
120 | 120 | * {@inheritdoc} |
121 | 121 | */ |
122 | - public function setMetaDescription(?string $metaDescription): void |
|
122 | + public function setMetaDescription(?string $metaDescription) : void |
|
123 | 123 | { |
124 | 124 | $this->getPageTranslation()->setMetaDescription($metaDescription); |
125 | 125 | } |
@@ -135,7 +135,7 @@ discard block |
||
135 | 135 | /** |
136 | 136 | * {@inheritdoc} |
137 | 137 | */ |
138 | - public function setContent(?string $content): void |
|
138 | + public function setContent(?string $content) : void |
|
139 | 139 | { |
140 | 140 | $this->getPageTranslation()->setContent($content); |
141 | 141 | } |
@@ -151,7 +151,7 @@ discard block |
||
151 | 151 | /** |
152 | 152 | * {@inheritdoc} |
153 | 153 | */ |
154 | - public function setName(?string $name): void |
|
154 | + public function setName(?string $name) : void |
|
155 | 155 | { |
156 | 156 | $this->getPageTranslation()->setName($name); |
157 | 157 | } |
@@ -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 string $content |string |
31 | 31 | */ |
32 | - public function setContent(?string $content): void; |
|
32 | + public function setContent(?string $content) : void; |
|
33 | 33 | |
34 | 34 | /** |
35 | 35 | * @return null|string |
@@ -39,7 +39,7 @@ discard block |
||
39 | 39 | /** |
40 | 40 | * @param null|string $slug |
41 | 41 | */ |
42 | - public function setSlug(?string $slug): void; |
|
42 | + public function setSlug(?string $slug) : void; |
|
43 | 43 | |
44 | 44 | /** |
45 | 45 | * @return null|string |
@@ -49,7 +49,7 @@ discard block |
||
49 | 49 | /** |
50 | 50 | * @param null|string $name |
51 | 51 | */ |
52 | - public function setName(?string $name): void; |
|
52 | + public function setName(?string $name) : void; |
|
53 | 53 | |
54 | 54 | /** |
55 | 55 | * @return null|string |
@@ -59,7 +59,7 @@ discard block |
||
59 | 59 | /** |
60 | 60 | * @param null|string $metaKeywords |
61 | 61 | */ |
62 | - public function setMetaKeywords(?string $metaKeywords): void; |
|
62 | + public function setMetaKeywords(?string $metaKeywords) : void; |
|
63 | 63 | |
64 | 64 | /** |
65 | 65 | * @return null|string |
@@ -69,5 +69,5 @@ discard block |
||
69 | 69 | /** |
70 | 70 | * @param null|string $metaDescription |
71 | 71 | */ |
72 | - public function setMetaDescription(?string $metaDescription): void; |
|
72 | + public function setMetaDescription(?string $metaDescription) : void; |
|
73 | 73 | } |
@@ -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 | |
@@ -35,7 +35,7 @@ discard block |
||
35 | 35 | /** |
36 | 36 | * @param null|string $type |
37 | 37 | */ |
38 | - public function setType(?string $type): void; |
|
38 | + public function setType(?string $type) : void; |
|
39 | 39 | |
40 | 40 | /** |
41 | 41 | * @return null|string |
@@ -45,7 +45,7 @@ discard block |
||
45 | 45 | /** |
46 | 46 | * @param null|string $code |
47 | 47 | */ |
48 | - public function setCode(?string $code): void; |
|
48 | + public function setCode(?string $code) : void; |
|
49 | 49 | |
50 | 50 | /** |
51 | 51 | * @return null|string |
@@ -55,7 +55,7 @@ discard block |
||
55 | 55 | /** |
56 | 56 | * @param null|string $name |
57 | 57 | */ |
58 | - public function setName(?string $name): void; |
|
58 | + public function setName(?string $name) : void; |
|
59 | 59 | |
60 | 60 | /** |
61 | 61 | * @return null|string |
@@ -65,7 +65,7 @@ discard block |
||
65 | 65 | /** |
66 | 66 | * @param string $content |
67 | 67 | */ |
68 | - public function setContent(?string $content): void; |
|
68 | + public function setContent(?string $content) : void; |
|
69 | 69 | |
70 | 70 | /** |
71 | 71 | * @return null|ImageInterface |
@@ -75,7 +75,7 @@ discard block |
||
75 | 75 | /** |
76 | 76 | * @param null|ImageInterface $image |
77 | 77 | */ |
78 | - public function setImage(?ImageInterface $image): void; |
|
78 | + public function setImage(?ImageInterface $image) : void; |
|
79 | 79 | |
80 | 80 | /** |
81 | 81 | * @return null|string |
@@ -85,5 +85,5 @@ discard block |
||
85 | 85 | /** |
86 | 86 | * @param null|string $link |
87 | 87 | */ |
88 | - public function setLink(?string $link): void; |
|
88 | + public function setLink(?string $link) : void; |
|
89 | 89 | } |
@@ -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 | } |