Skip to content

Commit b719558

Browse files
Fix form
1 parent f3a5d68 commit b719558

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Form.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,7 @@ public function setFormHelper(FormHelper $formHelper): static
567567
return $this;
568568
}
569569

570-
public function addCustomField($name, $class): static
570+
public function addCustomField(string $name, string $class): static
571571
{
572572
if ($this->rebuilding && $this->formHelper->hasCustomField($name)) {
573573
return $this;

0 commit comments

Comments
 (0)