Code Duplication    Length = 10-14 lines in 3 locations

src/module/Tools/Admin/One/DatabaseDump/View.php 1 location

@@ 7-20 (lines=14) @@
4
5
use Rudolf\Framework\View\AdminView;
6
7
class View extends AdminView
8
{
9
    /**
10
     * @param array $data
11
     */
12
    public function setData(array $data)
13
    {
14
        $this->data = $data;
15
        $this->pageTitle = _('Database dump');
16
        $this->head->setTitle($this->pageTitle);
17
18
        $this->template = 'tool-dbdump';
19
    }
20
}
21

src/module/Tools/Admin/One/DatabaseImport/View.php 1 location

@@ 7-20 (lines=14) @@
4
5
use Rudolf\Framework\View\AdminView;
6
7
class View extends AdminView
8
{
9
    /**
10
     * @param array $data
11
     */
12
    public function setData(array $data)
13
    {
14
        $this->data = $data;
15
        $this->pageTitle = _('Database import');
16
        $this->head->setTitle($this->pageTitle);
17
18
        $this->template = 'tool-dbimport';
19
    }
20
}
21

src/module/Users/One/Admin/Profile/ShowView.php 1 location

@@ 7-16 (lines=10) @@
4
5
use Rudolf\Framework\View\AdminView;
6
7
class ShowView extends AdminView
8
{
9
    public function userCard()
10
    {
11
        $this->pageTitle = _('Profile');
12
        $this->head->setTitle($this->pageTitle);
13
14
        $this->template = 'profile';
15
    }
16
}
17