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 = 10-10 lines in 2 locations

Slim/Http/Request.php 2 locations

@@ 742-751 (lines=10) @@
739
     *
740
     * @return mixed
741
     */
742
    public function getCookieParam($key, $default = null)
743
    {
744
        $cookies = $this->getCookieParams();
745
        $result = $default;
746
        if (isset($cookies[$key])) {
747
            $result = $cookies[$key];
748
        }
749
750
        return $result;
751
    }
752
753
    /**
754
     * Return an instance with the specified cookies.
@@ 1210-1219 (lines=10) @@
1207
     *
1208
     * @return mixed
1209
     */
1210
    public function getQueryParam($key, $default = null)
1211
    {
1212
        $getParams = $this->getQueryParams();
1213
        $result = $default;
1214
        if (isset($getParams[$key])) {
1215
            $result = $getParams[$key];
1216
        }
1217
1218
        return $result;
1219
    }
1220
1221
    /**
1222
     * Fetch associative array of body and query string parameters.