Code Duplication    Length = 8-8 lines in 2 locations

src/Query.php 1 location

@@ 184-191 (lines=8) @@
181
        return $this;
182
    }
183
184
    protected function getFields()
185
    {
186
        if (empty($this->fields)) {
187
            return ' * ';
188
        }
189
190
        return ' ' . implode(', ', $this->fields) . ' ';
191
    }
192
    
193
    protected function getJoin()
194
    {

src/Updatable.php 1 location

@@ 67-74 (lines=8) @@
64
        return $this;
65
    }
66
67
    protected function getFields()
68
    {
69
        if (empty($this->fields)) {
70
            return ' * ';
71
        }
72
73
        return ' ' . implode(', ', $this->fields) . ' ';
74
    }
75
    
76
    protected function getWhere()
77
    {