diff options
Diffstat (limited to 'libs/HTML/QuickForm2/Container.php')
-rw-r--r-- | libs/HTML/QuickForm2/Container.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/HTML/QuickForm2/Container.php b/libs/HTML/QuickForm2/Container.php index 979b9b7e28..6270a2f84c 100644 --- a/libs/HTML/QuickForm2/Container.php +++ b/libs/HTML/QuickForm2/Container.php @@ -65,12 +65,12 @@ class HTML_QuickForm2_ContainerIterator extends RecursiveArrayIterator implement parent::__construct($container->getElements()); } - public function hasChildren() + public function hasChildren(): bool { return $this->current() instanceof HTML_QuickForm2_Container; } - public function getChildren() + public function getChildren(): HTML_QuickForm2_ContainerIterator { return new HTML_QuickForm2_ContainerIterator($this->current()); } |