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

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