Code Duplication    Length = 15-16 lines in 2 locations

src/Query/Dialect/Common/Select.php 1 location

@@ 50-64 (lines=15) @@
47
    /**
48
     * {@inheritDoc}
49
     */
50
    protected function getConfigs()/*# : array */
51
    {
52
        return [
53
            'DISTINCT' => '',
54
            'COL' => '',
55
            'TABLE' => 'FROM',
56
            'JOIN' => '',
57
            'WHERE' => 'WHERE',
58
            'GROUP' => 'GROUP BY',
59
            'HAVING' => 'HAVING',
60
            'ORDER' => 'ORDER BY',
61
            'LIMIT' => 'LIMIT',
62
            'UNION' => '',
63
        ];
64
    }
65
66
    /**
67
     * {@inheritDoc}

src/Query/Dialect/Mysql/Select.php 1 location

@@ 37-52 (lines=16) @@
34
    /**
35
     * {@inheritDoc}
36
     */
37
    protected function getConfigs()/*# : array */
38
    {
39
        return [
40
            'DISTINCT' => '',
41
            'COL' => '',
42
            'TABLE' => 'FROM',
43
            'JOIN' => '',
44
            'PARTITION' => 'PARTITION', // added partition here
45
            'WHERE' => 'WHERE',
46
            'GROUP' => 'GROUP BY',
47
            'HAVING' => 'HAVING',
48
            'ORDER' => 'ORDER BY',
49
            'LIMIT' => 'LIMIT',
50
            'UNION' => '',
51
        ];
52
    }
53
}
54