Test Failed
Pull Request — master (#160)
by
unknown
11:10
created
src/PHPHtmlParser/Dom/AbstractNode.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -397,7 +397,7 @@
 block discarded – undo
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)
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,9 +3,9 @@
 block discarded – undo
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.
Please login to merge, or discard this patch.
src/PHPHtmlParser/Selector.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
1 1
 <?php
2 2
 namespace PHPHtmlParser;
3 3
 
4
+use Countable;
4 5
 use PHPHtmlParser\Dom\AbstractNode;
5 6
 use PHPHtmlParser\Dom\Collection;
6 7
 use PHPHtmlParser\Dom\InnerNode;
7 8
 use PHPHtmlParser\Dom\LeafNode;
8 9
 use PHPHtmlParser\Exceptions\ChildNotFoundException;
9
-use Countable;
10 10
 
11 11
 /**
12 12
  * Class Selector
Please login to merge, or discard this patch.
src/PHPHtmlParser/Dom/InnerNode.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -177,7 +177,7 @@  discard block
 block discarded – undo
177 177
 	 * Insert element before child with provided id
178 178
 	 *
179 179
 	 * @param AbstractNode $child
180
-	 * @return bool
180
+	 * @return boolean|null
181 181
 	 * @param int $id
182 182
 	 */
183 183
 	public function insertBefore(AbstractNode $child, $id){
@@ -237,7 +237,7 @@  discard block
 block discarded – undo
237 237
     /**
238 238
      * Check if has next Child
239 239
      *
240
-     * @param $id childId
240
+     * @param string $id childId
241 241
      * @return mixed
242 242
      */
243 243
     public function hasNextChild($id)
Please login to merge, or discard this patch.