Completed
Pull Request — master (#49)
by Daniel
01:32
created
src/Url.php 1 patch
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,6 +42,10 @@  discard block
 block discarded – undo
42 42
         return new static(null, $url);
43 43
     }
44 44
 
45
+    /**
46
+     * @param HtmlNode|null $node
47
+     * @param string $url
48
+     */
45 49
     public function __construct($node, $url = null)
46 50
     {
47 51
         if (!is_null($node)) {
@@ -184,7 +188,7 @@  discard block
 block discarded – undo
184 188
 
185 189
     /**
186 190
      * @param string|null $haystack
187
-     * @param string|array $needles
191
+     * @param string $needles
188 192
      *
189 193
      * @return bool
190 194
      */
Please login to merge, or discard this patch.