diff --git a/component-model/en/@home.texy b/component-model/en/@home.texy index 76a116ce1c..3ae5c4a808 100644 --- a/component-model/en/@home.texy +++ b/component-model/en/@home.texy @@ -33,7 +33,7 @@ Returns a component. Attempt to call undefined child causes invoking of factory Iterating over Children ----------------------- -The [getComponents($deep = false, $type = null) |api:Nette\ComponentModel\Container::getComponents()] method is used for iteration. The first parameter specifies whether to traverse the components in depth (or recursively). With `true`, it not only iterates all its children, but also all children of its children, etc. Second parameter servers as an optional filter by class or interface. +The [getComponents($deep = false, $type = null) |api:Nette\ComponentModel\Container::getComponents()] method is used for iteration. The first parameter specifies whether to traverse the components in depth (or recursively). With `true`, it not only iterates all its children, but also all children of its children, etc. Second parameter serves as an optional filter by class or interface. ```php foreach ($form->getComponents(true, Nette\Forms\IControl::class) as $control) {