Code Duplication    Length = 8-8 lines in 2 locations

src/Overview/OverviewController.php 2 locations

@@ 56-63 (lines=8) @@
53
        $pageRender->renderPage(["title" => $title]);
54
    }
55
56
    public function getUsers()
57
    {
58
        $overview = new Overview();
59
60
        $data = $overview->returnLimitUsers($this->di->get("db"), "points desc", 5);
61
62
        return $data;
63
    }
64
65
    public function getPosts()
66
    {
@@ 74-81 (lines=8) @@
71
        return $data;
72
    }
73
74
    public function getTags($id)
75
    {
76
        $overview = new Overview();
77
78
        $data = $overview->returnAllTagsFromPost($this->di->get("db"), [$id]);
79
80
        return $data;
81
    }
82
83
    public function getPopularTags()
84
    {