use wcf\system\form\builder\field\TMinimumLengthFormField;
use wcf\system\form\builder\field\wysiwyg\WysiwygAttachmentFormField;
use wcf\system\form\builder\field\wysiwyg\WysiwygFormField;
-use wcf\system\form\builder\IFormNode;
+use wcf\system\form\builder\IFormChildNode;
use wcf\system\form\builder\TWysiwygFormNode;
/**
/**
* setting nodes that will be added to the settings container when it is created
- * @var IFormNode[]
+ * @var IFormChildNode[]
*/
protected $settingsNodes = [];
* Adds a node that will be appended to the settings form container when it is built and
* returns this container.
*
- * @param IFormNode $settingsNode added settings node
+ * @param IFormChildNode $settingsNode added settings node
* @return WysiwygFormContainer this form field container
*/
- public function addSettingsNode(IFormNode $settingsNode) {
+ public function addSettingsNode(IFormChildNode $settingsNode) {
if ($this->settingsContainer !== null) {
// if settings container has already been created, add it directly
$this->settingsContainer->appendChild($settingsNode);
/**
* Adds nodes that will be appended to the settings form container when it is built and
* returns this container.
- *
- * @param IFormNode[] $settingsNodes added settings nodes
- * @return WysiwygFormContainer this form field container
+ *
+ * @param IFormChildNode[] $settingsNodes added settings nodes
+ * @return WysiwygFormContainer this form field container
*/
public function addSettingsNodes(array $settingsNodes) {
foreach ($settingsNodes as $settingsNode) {