@@ -240,7 +240,7 @@ |
||
240 | 240 | * |
241 | 241 | * @param array $tree |
242 | 242 | * @param string $parent node name or null for inserting into root node |
243 | - * @param $node |
|
243 | + * @param string $node |
|
244 | 244 | * |
245 | 245 | * @throws \Exception |
246 | 246 | * |
@@ -44,7 +44,7 @@ |
||
44 | 44 | /** |
45 | 45 | * Returns child components. |
46 | 46 | * |
47 | - * @return \Nayjest\Collection\CollectionInterface |
|
47 | + * @return \Nayjest\Collection\Decorator\ReadonlyObjectCollection |
|
48 | 48 | */ |
49 | 49 | public function children() |
50 | 50 | { |