@@ -119,7 +119,7 @@ |
||
| 119 | 119 | * |
| 120 | 120 | * @param int $offset the label offset to remove and replace by |
| 121 | 121 | * the given component |
| 122 | - * @param HierarchicalComponent|string $component the component added |
|
| 122 | + * @param string|null $component the component added |
|
| 123 | 123 | * |
| 124 | 124 | * @return static |
| 125 | 125 | */ |
@@ -202,7 +202,7 @@ |
||
| 202 | 202 | * This method MUST retain the state of the current instance, and return |
| 203 | 203 | * an instance that contains the modified component with the appended data |
| 204 | 204 | * |
| 205 | - * @param HierarchicalComponent|string $component the component to append |
|
| 205 | + * @param string $component the component to append |
|
| 206 | 206 | * |
| 207 | 207 | * @return static |
| 208 | 208 | */ |