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 — master ( 05b340...402919 )
by Steeven
03:35
created
src/DataObjects/Result.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
 
50 50
         parent::__construct($this->info->num_rows);
51 51
 
52
-        foreach($rows as $offset => $row) {
52
+        foreach ($rows as $offset => $row) {
53 53
             $this->offsetSet($offset, $row);
54 54
         }
55 55
     }
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
     {
78 78
         $this->info->num_founds = (int)$numFounds;
79 79
 
80
-        if($this->info->num_founds > 0 and $this->info->num_per_page > 0) {
80
+        if ($this->info->num_founds > 0 and $this->info->num_per_page > 0) {
81 81
             $this->info->num_pages = round($this->info->num_founds / $this->info->num_per_page);
82 82
         }
83 83
     }
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
      */
106 106
     public function first()
107 107
     {
108
-        if($this->count()) {
108
+        if ($this->count()) {
109 109
             $this->rewind();
110 110
 
111 111
             return $this->current();
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
      */
124 124
     public function last()
125 125
     {
126
-        if($this->count()) {
126
+        if ($this->count()) {
127 127
             $index = $this->count() - 1;
128 128
 
129 129
             if ($this->offsetExists($index)) {
@@ -196,7 +196,7 @@  discard block
 block discarded – undo
196 196
      */
197 197
     public function offsetSet($offset, $value)
198 198
     {
199
-        if(is_array($value)) {
199
+        if (is_array($value)) {
200 200
             parent::offsetSet($offset, new Row($value));
201 201
         } else {
202 202
             parent::offsetSet($offset, $value);
Please login to merge, or discard this patch.