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 ( 45222e...05b340 )
by Steeven
02:07
created
src/DataObjects/Result.php 1 patch
Spacing   +3 added lines, -3 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
     }
@@ -192,7 +192,7 @@  discard block
 block discarded – undo
192 192
      */
193 193
     public function offsetSet($offset, $value)
194 194
     {
195
-        if(is_array($value)) {
195
+        if (is_array($value)) {
196 196
             parent::offsetSet($offset, new Row($value));
197 197
         } else {
198 198
             parent::offsetSet($offset, $value);
Please login to merge, or discard this patch.