Code Duplication    Length = 7-7 lines in 2 locations

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

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