GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Push — master ( 0b2d3d...31c470 )
by Christoph
03:14
created
src/HtmlPageCrawler.php 1 patch
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -355,7 +355,7 @@  discard block
 block discarded – undo
355 355
     /**
356 356
      * Set the HTML contents of each element
357 357
      *
358
-     * @param string|HtmlPageCrawler|\DOMNode|\DOMNodeList $content HTML code fragment
358
+     * @param string $content HTML code fragment
359 359
      * @return HtmlPageCrawler $this for chaining
360 360
      */
361 361
     public function setInnerHtml($content)
@@ -951,6 +951,9 @@  discard block
 block discarded – undo
951 951
         }
952 952
     }
953 953
 
954
+    /**
955
+     * @param string $content
956
+     */
954 957
     public function addHtmlFragment($content, $charset = 'UTF-8')
955 958
     {
956 959
         $d = new \DOMDocument('1.0', $charset);
@@ -968,7 +971,7 @@  discard block
 block discarded – undo
968 971
      * returns the first node
969 972
      * deprecated, use getNode(0) instead
970 973
      *
971
-     * @return \DOMNode|null
974
+     * @return \DOMElement|null
972 975
      * @deprecated
973 976
      * @see Crawler::getNode
974 977
      */
Please login to merge, or discard this patch.