Code Duplication    Length = 9-9 lines in 4 locations

tests/controllers/FileController.php 1 location

@@ 39-47 (lines=9) @@
36
     *
37
     * @return Content
38
     */
39
    public function edit($id)
40
    {
41
        return Admin::content(function (Content $content) use ($id) {
42
            $content->header('header');
43
            $content->description('description');
44
45
            $content->body($this->form()->edit($id));
46
        });
47
    }
48
49
    /**
50
     * Create interface.

tests/controllers/ImageController.php 1 location

@@ 39-47 (lines=9) @@
36
     *
37
     * @return Content
38
     */
39
    public function edit($id)
40
    {
41
        return Admin::content(function (Content $content) use ($id) {
42
            $content->header('header');
43
            $content->description('description');
44
45
            $content->body($this->form()->edit($id));
46
        });
47
    }
48
49
    /**
50
     * Create interface.

tests/controllers/MultipleImageController.php 1 location

@@ 39-47 (lines=9) @@
36
     *
37
     * @return Content
38
     */
39
    public function edit($id)
40
    {
41
        return Admin::content(function (Content $content) use ($id) {
42
            $content->header('header');
43
            $content->description('description');
44
45
            $content->body($this->form()->edit($id));
46
        });
47
    }
48
49
    /**
50
     * Create interface.

tests/controllers/UserController.php 1 location

@@ 40-48 (lines=9) @@
37
     *
38
     * @return Content
39
     */
40
    public function edit($id)
41
    {
42
        return Admin::content(function (Content $content) use ($id) {
43
            $content->header('Edit user');
44
            $content->description('description');
45
46
            $content->body($this->form()->edit($id));
47
        });
48
    }
49
50
    /**
51
     * Create interface.