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

src/class/ControllerRouterLink.php 1 location

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

src/class/Request.php 1 location

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