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

Slim/Http/Request.php 2 locations

@@ 682-690 (lines=9) @@
679
     *
680
     * @return null
681
     */
682
    public function getCookieParam($key, $default = null)
683
    {
684
        $getCookies = $this->getCookieParams();
685
        $result = $default;
686
        if (isset($getCookies[$key])) {
687
            $result = $getCookies[$key];
688
        }
689
        return $result;
690
    }
691
    
692
    /**
693
     * Retrieve cookies.
@@ 1148-1157 (lines=10) @@
1145
     *
1146
     * @return null
1147
     */
1148
    public function getQueryParam($key, $default = null)
1149
    {
1150
        $getParams = $this->getQueryParams();
1151
        $result = $default;
1152
        if (isset($getParams[$key])) {
1153
            $result = $getParams[$key];
1154
        }
1155
1156
        return $result;
1157
    }
1158
1159
    /**
1160
     * Fetch assocative array of body and query string parameters.