@@ -23,8 +23,8 @@ discard block |
||
23 | 23 | protected $parent; |
24 | 24 | |
25 | 25 | public function __construct( |
26 | - ?string $type = null, |
|
27 | - ?string $text = null, |
|
26 | + ? string $type = null, |
|
27 | + ? string $text = null, |
|
28 | 28 | array $attributes = array(), |
29 | 29 | array $children = array() |
30 | 30 | ) |
@@ -233,7 +233,7 @@ discard block |
||
233 | 233 | /** |
234 | 234 | * {@inheritdoc} |
235 | 235 | */ |
236 | - public function setParent(?ElementInterface $parent = null): ElementInterface |
|
236 | + public function setParent(? ElementInterface $parent = null) : ElementInterface |
|
237 | 237 | { |
238 | 238 | $this->parent = $parent; |
239 | 239 |
@@ -114,14 +114,14 @@ |
||
114 | 114 | * |
115 | 115 | * @return ElementInterface |
116 | 116 | */ |
117 | - public function setParent(?ElementInterface $parent = null): self; |
|
117 | + public function setParent(? ElementInterface $parent = null) : self; |
|
118 | 118 | |
119 | 119 | /** |
120 | 120 | * Get element parent. |
121 | 121 | * |
122 | 122 | * @return ElementInterface|null |
123 | 123 | */ |
124 | - public function getParent(): ?self; |
|
124 | + public function getParent(): ? self; |
|
125 | 125 | |
126 | 126 | /** |
127 | 127 | * Render element. |