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 ( 6c8575...edc408 )
by Patrick D
02:19
created
src/DOMList.php 1 patch
Braces   +4 added lines, -5 removed lines patch added patch discarded remove patch
@@ -24,11 +24,9 @@  discard block
 block discarded – undo
24 24
   public function __get ($prop) {
25 25
     if ($prop == 'length') {
26 26
       return $this->length;
27
-    }
28
-    else if ($prop == 'dom') {
27
+    } else if ($prop == 'dom') {
29 28
       return $this->dom;
30
-    }
31
-    else {
29
+    } else {
32 30
       return null;
33 31
     }
34 32
   }
@@ -56,8 +54,9 @@  discard block
 block discarded – undo
56 54
   public function item($index) {
57 55
     if (isset($this->array[$index])) {
58 56
       return $this->array[$index];
57
+    } else {
58
+      return FALSE;
59 59
     }
60
-    else return FALSE;
61 60
   }
62 61
   
63 62
   public function count() {
Please login to merge, or discard this patch.