Code Duplication    Length = 7-7 lines in 2 locations

system/modules/Db/objects/Mysql/Query.php 2 locations

@@ 105-111 (lines=7) @@
102
        }
103
    }
104
105
    public function where($where = '', $value = '', $operation = false, $concatenation = 'AND') {
106
        if (!is_array($where)) {
107
            $this->where[] = [$where, $value, $operation, $concatenation];
108
        } else {
109
            $this->where[] = $where;
110
        }
111
    }
112
113
    public function having($where = '', $value = '', $operation = false, $concatenation = 'AND') {
114
        if (!is_array($where)) {
@@ 113-119 (lines=7) @@
110
        }
111
    }
112
113
    public function having($where = '', $value = '', $operation = false, $concatenation = 'AND') {
114
        if (!is_array($where)) {
115
            $this->having[] = [$where, $value, $operation, $concatenation];
116
        } else {
117
            $this->having[] = $where;
118
        }
119
    }
120
121
    public function group($colname) {
122
        $this->group[] = $colname;