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

@@ 697-705 (lines=9) @@
694
     *
695
     * @return null
696
     */
697
    public function getCookieParam($key, $default = null)
698
    {
699
        $getCookies = $this->getCookieParams();
700
        $result = $default;
701
        if (isset($getCookies[$key])) {
702
            $result = $getCookies[$key];
703
        }
704
705
        return $result;
706
    }
707
708
    /**
@@ 1149-1158 (lines=10) @@
1146
     *
1147
     * @return null
1148
     */
1149
    public function getQueryParam($key, $default = null)
1150
    {
1151
        $getParams = $this->getQueryParams();
1152
        $result = $default;
1153
        if (isset($getParams[$key])) {
1154
            $result = $getParams[$key];
1155
        }
1156
1157
        return $result;
1158
    }
1159
1160
    /**
1161
     * Fetch assocative array of body and query string parameters.