Code Duplication    Length = 5-5 lines in 2 locations

htdocs/class/libraries/vendor/xoops/xmf/src/Xmf/Database/Tables.php 2 locations

@@ 569-573 (lines=5) @@
566
    {
567
        $this->expandQueue();
568
        foreach ($this->queue as &$ddl) {
569
            if (is_array($ddl)) {
570
                if (isset($ddl['createtable'])) {
571
                    $ddl = $this->renderTableCreate($ddl['createtable']);
572
                }
573
            }
574
            $result = $this->execSql($ddl, $force);
575
            if (!$result) {
576
                $this->lastError = $this->db->error();
@@ 884-888 (lines=5) @@
881
    protected function expandQueue()
882
    {
883
        foreach ($this->queue as &$ddl) {
884
            if (is_array($ddl)) {
885
                if (isset($ddl['createtable'])) {
886
                    $ddl = $this->renderTableCreate($ddl['createtable'], true);
887
                }
888
            }
889
        }
890
    }
891