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 ( cb2a56...5a495a )
by Patrick D
02:29
created
src/DOMDoc.php 1 patch
Doc Comments   +14 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
@@ -487,10 +487,10 @@  discard block
 block discarded – undo
487 487
   /**
488 488
    * Given a pair of nodes, replace the first with the second
489 489
    * 
490
-   * @param mixed $node
490
+   * @param \DOMElement $node
491 491
    *  Node to be replaced. Can either be an xpath string or a DOMDocument (or even a DOMNode).
492 492
    * 
493
-   * @param mixed $replace
493
+   * @param \DOMElement $replace
494 494
    *  Replace $node with $replace. Replace can be an XML string, or a DOMNode
495 495
    * 
496 496
    * @return mixed
@@ -550,7 +550,7 @@  discard block
 block discarded – undo
550 550
    *   $context can either be an xpath string, or a DOMElement. Ommiting it
551 551
    *   results in transforming the entire document
552 552
    * 
553
-   * @return a new DOMDoc
553
+   * @return DOMDoc new DOMDoc
554 554
    */
555 555
   public function tranform($xsl, $context = NULL) {
556 556
     if (!$context) {
@@ -632,7 +632,7 @@  discard block
 block discarded – undo
632 632
    *     it will transform all elements with xlink:type = simple into a <a href> element. 
633 633
    *     Alternatively you may specify your own xpath for selecting which elements get transformed
634 634
    *     into <a href> tags. 
635
-   * @return HTML string
635
+   * @return string string
636 636
    */  
637 637
   public function asHTML($context = NULL, $options = array()) {
638 638
     $xslSimple = '
@@ -714,7 +714,7 @@  discard block
 block discarded – undo
714 714
    *   $context can either be an xpath string, or a DOMElement. Ommiting it
715 715
    *   results in outputting the entire document
716 716
    * 
717
-   * @return XML string
717
+   * @return string string
718 718
    */  
719 719
   public function out($context = NULL) {
720 720
     $this->createContext($context, 'xpath');
@@ -749,6 +749,9 @@  discard block
 block discarded – undo
749 749
     return $this->out();
750 750
   }
751 751
 
752
+  /**
753
+   * @param string|boolean $error_checking
754
+   */
752 755
   public function setErrorChecking($error_checking) {
753 756
     // Check up error-checking
754 757
     if ($error_checking == FALSE) {
@@ -778,6 +781,10 @@  discard block
 block discarded – undo
778 781
     return $success;
779 782
   }
780 783
 
784
+  /**
785
+   * @param string $source
786
+   * @param integer $options
787
+   */
781 788
   public function loadXML($source, $options = NULL) {
782 789
     $success = parent::loadXML($source, $options);
783 790
     $this->AutoRegisterNamespace(TRUE);
Please login to merge, or discard this patch.