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.
Completed
Push — master ( a70cad...80ee5d )
by Nick
02:09
created
src/Client.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
 
95 95
     protected $accessToken;
96 96
 
97
-    public function __construct(array $options = [])
97
+    public function __construct(array $options = [ ])
98 98
     {
99 99
         Config::setOptions($options);
100 100
 
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
         $this->httpClient = $client;
107 107
     }
108 108
 
109
-    protected function makeRequest(string $verb, string $uri, array $parameters = [])
109
+    protected function makeRequest(string $verb, string $uri, array $parameters = [ ])
110 110
     {
111 111
         $url = Config::get('productionApiUrl');
112 112
 
@@ -116,8 +116,8 @@  discard block
 block discarded – undo
116 116
 
117 117
         $url = $url . '/' . $uri;
118 118
 
119
-        $config = [];
120
-        $config['headers'] = [
119
+        $config = [ ];
120
+        $config[ 'headers' ] = [
121 121
             'Accept' => 'application/json',
122 122
             'Content-Type' => 'application/json',
123 123
             'Authorization' => 'Bearer ' . $this->getAccessToken(),
@@ -125,9 +125,9 @@  discard block
 block discarded – undo
125 125
 
126 126
         if (!empty($parameters)) {
127 127
             if (strtolower($verb) == 'get') {
128
-                $config['query'] = $parameters;
128
+                $config[ 'query' ] = $parameters;
129 129
             } else {
130
-                $config['json'] = $parameters;
130
+                $config[ 'json' ] = $parameters;
131 131
             }
132 132
         }
133 133
 
Please login to merge, or discard this patch.