We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 787e7b2 commit 41278aeCopy full SHA for 41278ae
src/Form.php
@@ -134,7 +134,7 @@ function ($k) {
134
* @param string|null $after
135
* @return $this
136
*/
137
- public function addElement(Element $element, string $before = null, string $after = null): static
+ public function addElement(Element $element, ?string $before = null, ?string $after = null): static
138
{
139
$element->setForm($this);
140
return $this->parentAddElement($element, $before, $after);
0 commit comments