Skip to content

Commit 4ba771b

Browse files
some backports from master
1 parent 8ac272b commit 4ba771b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

FormFieldRegistry.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class FormFieldRegistry
2222
{
2323
private $fields = [];
2424

25-
private $base;
25+
private $base = '';
2626

2727
/**
2828
* Adds a field to the registry.
@@ -47,7 +47,7 @@ public function add(FormField $field)
4747
}
4848

4949
/**
50-
* Removes a field and its children from the registry.
50+
* Removes a field based on the fully qualifed name and its children from the registry.
5151
*/
5252
public function remove(string $name)
5353
{
@@ -64,7 +64,7 @@ public function remove(string $name)
6464
}
6565

6666
/**
67-
* Returns the value of the field and its children.
67+
* Returns the value of the field based on the fully qualifed name and its children.
6868
*
6969
* @return mixed The value of the field
7070
*
@@ -86,7 +86,7 @@ public function &get(string $name)
8686
}
8787

8888
/**
89-
* Tests whether the form has the given field.
89+
* Tests whether the form has the given field based on the fully qualified name.
9090
*
9191
* @return bool Whether the form has the given field
9292
*/
@@ -102,7 +102,7 @@ public function has(string $name): bool
102102
}
103103

104104
/**
105-
* Set the value of a field and its children.
105+
* Set the value of a field based on the fully qualified name and its children.
106106
*
107107
* @param mixed $value The value
108108
*

0 commit comments

Comments
 (0)