@@ -397,7 +397,7 @@ |
||
| 397 | 397 | /** |
| 398 | 398 | * Find node by id |
| 399 | 399 | * |
| 400 | - * @param $id |
|
| 400 | + * @param integer $id |
|
| 401 | 401 | * @return bool|AbstractNode |
| 402 | 402 | */ |
| 403 | 403 | public function findById($id) |
@@ -3,9 +3,9 @@ |
||
| 3 | 3 | |
| 4 | 4 | use PHPHtmlParser\Exceptions\CircularException; |
| 5 | 5 | use PHPHtmlParser\Exceptions\ParentNotFoundException; |
| 6 | +use PHPHtmlParser\Finder; |
|
| 6 | 7 | use PHPHtmlParser\Selector; |
| 7 | 8 | use stringEncode\Encode; |
| 8 | -use PHPHtmlParser\Finder; |
|
| 9 | 9 | |
| 10 | 10 | /** |
| 11 | 11 | * Dom node object. |
@@ -156,7 +156,7 @@ |
||
| 156 | 156 | /** |
| 157 | 157 | * Removes an attribute from this tag. |
| 158 | 158 | * |
| 159 | - * @param $key |
|
| 159 | + * @param string $key |
|
| 160 | 160 | * @return void |
| 161 | 161 | */ |
| 162 | 162 | public function removeAttribute($key) |