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

src/class/Application.php 1 location

@@ 103-112 (lines=10) @@
100
     * 
101
     * @return \BFW\Application The current instance of this class
102
     */
103
    public static function getInstance($options = [])
104
    {
105
        if (self::$instance === null) {
106
            $calledClass = get_called_class(); //Autorize extends this class
107
            
108
            self::$instance = new $calledClass($options);
109
        }
110
111
        return self::$instance;
112
    }
113
114
    /**
115
     * Like getInstance. This is to have a keyword easier for users who want

src/class/ControllerRouterLink.php 1 location

@@ 40-49 (lines=10) @@
37
     * 
38
     * @return \BFW\ControllerRouterLink
39
     */
40
    public static function getInstance()
41
    {
42
        if (self::$instance === null) {
43
            $calledClass = get_called_class(); //Autorize extends this class
44
            
45
            self::$instance = new $calledClass();
46
        }
47
48
        return self::$instance;
49
    }
50
    
51
    /**
52
     * Getter for property target