Code Duplication    Length = 7-7 lines in 2 locations

src/Controller/ControllerFactory.php 1 location

@@ 48-54 (lines=7) @@
45
     * @param Request       $request
46
     * @param User|null     $user
47
     */
48
    public function __construct(\PDO $pdo, Configuration $configuration, Request $request, User $user = null)
49
    {
50
        $this->pdo           = $pdo;
51
        $this->configuration = $configuration;
52
        $this->request       = $request;
53
        $this->user          = $user;
54
    }
55
56
    /**
57
     * Initialize controller

src/Controller/Controller.php 1 location

@@ 106-112 (lines=7) @@
103
     * @param Cookie        $cookie
104
     * @param User|null     $user
105
     */
106
    public function __construct(\PDO $pdo, Configuration $configuration, Cookie $cookie, User $user = null)
107
    {
108
        $this->pdo           = $pdo;
109
        $this->configuration = $configuration;
110
        $this->cookie        = $cookie;
111
        $this->user          = $user;
112
    }
113
114
    /**
115
     * @return string Controller name without namespace