Code Duplication    Length = 8-8 lines in 2 locations

src/Query.php 1 location

@@ 189-196 (lines=8) @@
186
        return $this;
187
    }
188
189
    protected function getFields()
190
    {
191
        if (empty($this->fields)) {
192
            return ' * ';
193
        }
194
195
        return ' ' . implode(', ', $this->fields) . ' ';
196
    }
197
    
198
    protected function getJoin()
199
    {

src/Updatable.php 1 location

@@ 60-67 (lines=8) @@
57
        return $this;
58
    }
59
60
    protected function getFields()
61
    {
62
        if (empty($this->fields)) {
63
            return ' * ';
64
        }
65
66
        return ' ' . implode(', ', $this->fields) . ' ';
67
    }
68
    
69
    protected function getWhere()
70
    {