Code Duplication    Length = 5-5 lines in 2 locations

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

@@ 562-566 (lines=5) @@
559
    {
560
        $this->expandQueue();
561
        foreach ($this->queue as &$ddl) {
562
            if (is_array($ddl)) {
563
                if (isset($ddl['createtable'])) {
564
                    $ddl = $this->renderTableCreate($ddl['createtable']);
565
                }
566
            }
567
            $result = $this->execSql($ddl, $force);
568
            if (!$result) {
569
                $this->lastError = $this->db->error();
@@ 873-877 (lines=5) @@
870
    protected function expandQueue()
871
    {
872
        foreach ($this->queue as &$ddl) {
873
            if (is_array($ddl)) {
874
                if (isset($ddl['createtable'])) {
875
                    $ddl = $this->renderTableCreate($ddl['createtable'], true);
876
                }
877
            }
878
        }
879
    }
880