Completed
Push — master ( c39a14...8d69cc )
by Lars
02:07
created
src/voku/helper/SimpleHtmlDom.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/voku/helper/SimpleXmlDom.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -375,7 +375,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/voku/helper/AbstractSimpleHtmlDom.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -185,6 +185,9 @@
 block discarded – undo
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();
Please login to merge, or discard this patch.