@@ -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 | */ |
@@ -13,7 +13,6 @@ |
||
13 | 13 | |
14 | 14 | use InvalidArgumentException; |
15 | 15 | use League\Uri\Components\Host; |
16 | -use League\Uri\Components\Port; |
|
17 | 16 | use League\Uri\Components\Query; |
18 | 17 | use League\Uri\Interfaces\Host as HostInterface; |
19 | 18 | use League\Uri\Interfaces\Query as QueryInterface; |
@@ -200,7 +200,6 @@ |
||
200 | 200 | /** |
201 | 201 | * Create a new instance from a string |
202 | 202 | * |
203 | - * @param string $str |
|
204 | 203 | * |
205 | 204 | * @return static |
206 | 205 | */ |