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

src/class/Application.php 1 location

@@ 133-141 (lines=9) @@
130
     * 
131
     * @return \BFW\Application The current instance of this class
132
     */
133
    public static function getInstance()
134
    {
135
        if (self::$instance === null) {
136
            $calledClass = get_called_class(); //Autorize extends this class
137
            self::$instance = new $calledClass;
138
        }
139
140
        return self::$instance;
141
    }
142
143
    /**
144
     * Getter to access to cli property

src/class/Request.php 1 location

@@ 57-65 (lines=9) @@
54
     * 
55
     * @return \BFW\Request
56
     */
57
    public static function getInstance()
58
    {
59
        if (self::$instance === null) {
60
            $calledClass    = get_called_class(); //Autorize extends this class
61
            self::$instance = new $calledClass;
62
        }
63
64
        return self::$instance;
65
    }
66
67
    /**
68
     * Get the client IP