Code Duplication    Length = 3-3 lines in 2 locations

src/Statements/InsertStatement.php 2 locations

@@ 123-125 (lines=3) @@
120
121
        if ($this->values != NULL && count($this->values) > 0) {
122
            $ret .= ' VALUES ' . Array2d::build($this->values);
123
        } elseif ($this->set != NULL && count($this->set) > 0) {
124
            $ret .= ' SET ' . SetOperation::build($this->set);
125
        } elseif ($this->select != NULL && count($this->select) > 0) {
126
            $ret .= ' ' . $this->select->build();
127
        }
128
@@ 129-131 (lines=3) @@
126
            $ret .= ' ' . $this->select->build();
127
        }
128
129
        if ($this->onDuplicateSet != NULL && count($this->onDuplicateSet) > 0) {
130
            $ret .= ' ON DUPLICATE KEY UPDATE ' . SetOperation::build($this->onDuplicateSet);
131
        }
132
133
        return $ret;
134