@@ -97,7 +97,7 @@ discard block |
||
97 | 97 | /** |
98 | 98 | * Returns the first child of node. |
99 | 99 | * |
100 | - * @return SimpleHtmlDomInterface|null |
|
100 | + * @return null|SimpleHtmlDom |
|
101 | 101 | */ |
102 | 102 | public function firstChild() |
103 | 103 | { |
@@ -331,7 +331,7 @@ discard block |
||
331 | 331 | /** |
332 | 332 | * Returns the last child of node. |
333 | 333 | * |
334 | - * @return SimpleHtmlDomInterface|null |
|
334 | + * @return null|SimpleHtmlDom |
|
335 | 335 | */ |
336 | 336 | public function lastChild() |
337 | 337 | { |
@@ -348,7 +348,7 @@ discard block |
||
348 | 348 | /** |
349 | 349 | * Returns the next sibling of node. |
350 | 350 | * |
351 | - * @return SimpleHtmlDomInterface|null |
|
351 | + * @return null|SimpleHtmlDom |
|
352 | 352 | */ |
353 | 353 | public function nextSibling() |
354 | 354 | { |
@@ -387,7 +387,7 @@ discard block |
||
387 | 387 | /** |
388 | 388 | * Returns the previous sibling of node. |
389 | 389 | * |
390 | - * @return SimpleHtmlDomInterface|null |
|
390 | + * @return null|SimpleHtmlDom |
|
391 | 391 | */ |
392 | 392 | public function previousSibling() |
393 | 393 | { |
@@ -375,7 +375,7 @@ discard block |
||
375 | 375 | /** |
376 | 376 | * Returns the first child of node. |
377 | 377 | * |
378 | - * @return SimpleXmlDomInterface|null |
|
378 | + * @return null|SimpleXmlDom |
|
379 | 379 | */ |
380 | 380 | public function firstChild() |
381 | 381 | { |
@@ -533,7 +533,7 @@ discard block |
||
533 | 533 | /** |
534 | 534 | * Returns the last child of node. |
535 | 535 | * |
536 | - * @return SimpleXmlDomInterface|null |
|
536 | + * @return null|SimpleXmlDom |
|
537 | 537 | */ |
538 | 538 | public function lastChild() |
539 | 539 | { |
@@ -550,7 +550,7 @@ discard block |
||
550 | 550 | /** |
551 | 551 | * Returns the next sibling of node. |
552 | 552 | * |
553 | - * @return SimpleXmlDomInterface|null |
|
553 | + * @return null|SimpleXmlDom |
|
554 | 554 | */ |
555 | 555 | public function nextSibling() |
556 | 556 | { |
@@ -577,7 +577,7 @@ discard block |
||
577 | 577 | /** |
578 | 578 | * Returns the previous sibling of node. |
579 | 579 | * |
580 | - * @return SimpleXmlDomInterface|null |
|
580 | + * @return null|SimpleXmlDom |
|
581 | 581 | */ |
582 | 582 | public function previousSibling() |
583 | 583 | { |
@@ -185,6 +185,9 @@ |
||
185 | 185 | $this->removeAttribute($name); |
186 | 186 | } |
187 | 187 | |
188 | + /** |
|
189 | + * @param integer $idx |
|
190 | + */ |
|
188 | 191 | abstract public function find(string $selector, $idx = null); |
189 | 192 | |
190 | 193 | abstract public function getAllAttributes(); |