Code Duplication    Length = 9-9 lines in 2 locations

src/models/Backup.php 1 location

@@ 49-57 (lines=9) @@
46
        ]);
47
    }
48
49
    public function getObj()
50
    {
51
        return Yii::createObject([
52
            'class' => Obj::class,
53
            'id' => $this->object_id,
54
            'name' => $this->name,
55
            'class_name' => $this->object,
56
        ]);
57
    }
58
}
59

src/models/Backuping.php 1 location

@@ 66-74 (lines=9) @@
63
        ]);
64
    }
65
66
    public function getObj()
67
    {
68
        return Yii::createObject([
69
            'class' => Obj::class,
70
            'id' => $this->id,
71
            'name' => $this->name,
72
            'class_name' => $this->object,
73
        ]);
74
    }
75
}
76