Code Duplication    Length = 11-11 lines in 2 locations

src/Comment/UserController.php 2 locations

@@ 101-111 (lines=11) @@
98
     *
99
     * @return void
100
     */
101
    public function getPostLogin()
102
    {
103
        $form       = new UserLoginForm($this->di);
104
        $form->check();
105
106
        $views = [
107
            ["user/login", ["form" => $form->getHTML()], "main"]
108
        ];
109
110
        $this->renderPage($views, "A login page");
111
    }
112
113
114
@@ 124-134 (lines=11) @@
121
     *
122
     * @return void
123
     */
124
    public function getPostCreateUser()
125
    {
126
        $form       = new CreateUserForm($this->di);
127
        $form->check();
128
129
        $views = [
130
            ["user/create", ["form" => $form->getHTML()], "main"]
131
        ];
132
133
        $this->renderPage($views, "Create a user");
134
    }
135
136
    /**
137
     * Description.