Skip to content

Commit 906b126

Browse files
diegosardinadg
authored andcommitted
Typo (#1008)
1 parent 72d5102 commit 906b126

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

component-model/en/@home.texy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Returns a component. Attempt to call undefined child causes invoking of factory
3333
Iterating over Children
3434
-----------------------
3535

36-
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.
36+
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.
3737

3838
```php
3939
foreach ($form->getComponents(true, Nette\Forms\IControl::class) as $control) {

0 commit comments

Comments
 (0)