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

src/helpers/Http.php 2 locations

@@ 59-73 (lines=15) @@
56
     * 
57
     * @return mixed
58
     */
59
    public static function obtainPostKey(
60
        $key,
61
        $type,
62
        $htmlentities = false
63
    ) {
64
        $currentClass = get_called_class();
65
        $secure       = $currentClass::getSecureHelpersName();
66
        
67
        return $secure::getSecurisedKeyInArray(
68
            $_POST,
69
            $key,
70
            $type,
71
            $htmlentities
72
        );
73
    }
74
75
    /**
76
     * Get a securised value for a key in $_GET array
@@ 85-99 (lines=15) @@
82
     * 
83
     * @return mixed
84
     */
85
    public static function obtainGetKey(
86
        $key,
87
        $type,
88
        $htmlentities = false
89
    ) {
90
        $currentClass = get_called_class();
91
        $secure       = $currentClass::getSecureHelpersName();
92
        
93
        return $secure::getSecurisedKeyInArray(
94
            $_GET,
95
            $key,
96
            $type,
97
            $htmlentities
98
        );
99
    }
100
    
101
    /**
102
     * Obtain many securised keys from $_POST array in one time