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.
Passed
Push — 2.x ( abeb2b...6c342c )
by Patrick D
02:19
created
src/DOMDoc.php 1 patch
Doc Comments   +10 added lines, -7 removed lines patch added patch discarded remove patch
@@ -22,14 +22,14 @@  discard block
 block discarded – undo
22 22
    *  $xml can either be an XML string, a DOMDocument, or a DOMElement. 
23 23
    *  You can also pass FALSE or NULL (or omit it) and load XML later using loadXML or loadHTML
24 24
    * 
25
-   * @param mixed $auto_register_namespaces 
25
+   * @param boolean $auto_register_namespaces 
26 26
    *  Auto-register namespaces. All namespaces in the root element will be registered for use in xpath queries.
27 27
    *  Namespaces that are not declared in the root element will not be auto-registered
28 28
    *  Defaults to TRUE (Meaning it will auto register all auxiliary namespaces but not the default namespace).
29 29
    *  Pass a prefix string to automatically register the default namespace.
30 30
    *  Pass FALSE to disable auto-namespace registeration
31 31
    * 
32
-   * @param bool $error_checking
32
+   * @param string|boolean $error_checking
33 33
    *  Can be 'strict', 'warning', or 'none. Defaults to 'strict'.
34 34
    *  'none' supresses all errors
35 35
    *  'warning' is the default behavior in DOMDocument
@@ -489,10 +489,10 @@  discard block
 block discarded – undo
489 489
   /**
490 490
    * Given a pair of nodes, replace the first with the second
491 491
    * 
492
-   * @param mixed $node
492
+   * @param \DOMElement $node
493 493
    *  Node to be replaced. Can either be an xpath string or a DOMDocument (or even a DOMNode).
494 494
    * 
495
-   * @param mixed $replace
495
+   * @param \DOMElement $replace
496 496
    *  Replace $node with $replace. Replace can be an XML string, or a DOMNode
497 497
    * 
498 498
    * @return mixed
@@ -552,7 +552,7 @@  discard block
 block discarded – undo
552 552
    *   $context can either be an xpath string, or a DOMElement. Ommiting it
553 553
    *   results in transforming the entire document
554 554
    * 
555
-   * @return a new DOMDoc
555
+   * @return DOMDoc new DOMDoc
556 556
    */
557 557
   public function tranform($xsl, $context = NULL) {
558 558
     if (!$context) {
@@ -636,7 +636,7 @@  discard block
 block discarded – undo
636 636
    *     it will transform all elements with xlink:type = simple into a <a href> element. 
637 637
    *     Alternatively you may specify your own xpath for selecting which elements get transformed
638 638
    *     into <a href> tags. 
639
-   * @return HTML string
639
+   * @return string string
640 640
    */  
641 641
   public function asHTML($context = NULL, $options = array()) {
642 642
     $xslSimple = '
@@ -718,7 +718,7 @@  discard block
 block discarded – undo
718 718
    *   $context can either be an xpath string, or a DOMElement. Ommiting it
719 719
    *   results in outputting the entire document
720 720
    * 
721
-   * @return XML string
721
+   * @return string string
722 722
    */  
723 723
   public function out($context = NULL) {
724 724
     $this->createContext($context, 'xpath');
@@ -753,6 +753,9 @@  discard block
 block discarded – undo
753 753
     return $this->out();
754 754
   }
755 755
 
756
+  /**
757
+   * @param string|boolean $error_checking
758
+   */
756 759
   public function setErrorChecking($error_checking) {
757 760
     // Check up error-checking
758 761
     if ($error_checking == FALSE) {
Please login to merge, or discard this patch.