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 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
   }
22 22
   
23 23
   // Provides read-only access to $length and $dom
24
-  public function __get ($prop) {
24
+  public function __get($prop) {
25 25
     if ($prop == 'length') {
26 26
       return $this->length;
27 27
     }
Please login to merge, or discard this 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.