From: Matthias Schmidt Date: Sun, 31 Dec 2017 12:57:05 +0000 (+0100) Subject: Move `RecursiveIterator` from `IFormNode` to `IFormParentNode` X-Git-Tag: 5.2.0_Alpha_1~920 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9a5c85490413e3ab1118a6159cbcae5a20a6fa5e;p=GitHub%2FWoltLab%2FWCF.git Move `RecursiveIterator` from `IFormNode` to `IFormParentNode` See #2509 --- diff --git a/wcfsetup/install/files/lib/system/form/builder/IFormNode.class.php b/wcfsetup/install/files/lib/system/form/builder/IFormNode.class.php index 916ab81bf5..5b289a65ea 100644 --- a/wcfsetup/install/files/lib/system/form/builder/IFormNode.class.php +++ b/wcfsetup/install/files/lib/system/form/builder/IFormNode.class.php @@ -10,7 +10,7 @@ namespace wcf\system\form\builder; * @package WoltLabSuite\Core\System\Form\Builder * @since 3.2 */ -interface IFormNode extends \RecursiveIterator { +interface IFormNode { /** * Adds the given CSS class to this node and returns this node. * diff --git a/wcfsetup/install/files/lib/system/form/builder/IFormParentNode.class.php b/wcfsetup/install/files/lib/system/form/builder/IFormParentNode.class.php index 11af5e1af4..d4a8bb5f58 100644 --- a/wcfsetup/install/files/lib/system/form/builder/IFormParentNode.class.php +++ b/wcfsetup/install/files/lib/system/form/builder/IFormParentNode.class.php @@ -10,7 +10,7 @@ namespace wcf\system\form\builder; * @package WoltLabSuite\Core\System\Form\Builder * @since 3.2 */ -interface IFormParentNode extends \Countable, IFormNode { +interface IFormParentNode extends \Countable, IFormNode, \RecursiveIterator { /** * Appends the given node to this node and returns this node. *