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.

Code Duplication    Length = 8-8 lines in 2 locations

src/AbstractController.php 2 locations

@@ 288-295 (lines=8) @@
285
     * @param mixed  $default
286
     * @return string|array
287
     */
288
    protected function get($key = null, $default = null)
289
    {
290
        if ($key === null) {
291
            return $this->request->query->all();
292
        }
293
294
        return $this->request->query->get($key, $default);
295
    }
296
297
    /**
298
     * Shortcut method to access POST/request parameters.
@@ 304-311 (lines=8) @@
301
     * @param mixed  $default
302
     * @return string|array
303
     */
304
    protected function post($key = null, $default = null)
305
    {
306
        if ($key === null) {
307
            return $this->request->request->all();
308
        }
309
310
        return $this->request->request->get($key, $default);
311
    }
312
}
313