Code Duplication    Length = 3-3 lines in 2 locations

src/Converter/LimitConverter.php 2 locations

@@ 10-12 (lines=3) @@
7
    public function convert($limit)
8
    {
9
        $result = [];
10
        if (isset($limit['offset']) && (int) $limit['offset'] > 0) {
11
            $result[] = $this->format('skip', [$limit['offset']]);
12
        }
13
14
        if (isset($limit['rowcount']) && (int) $limit['rowcount'] > 0) {
15
            $result[] = $this->format('take', [$limit['rowcount']]);
@@ 14-16 (lines=3) @@
11
            $result[] = $this->format('skip', [$limit['offset']]);
12
        }
13
14
        if (isset($limit['rowcount']) && (int) $limit['rowcount'] > 0) {
15
            $result[] = $this->format('take', [$limit['rowcount']]);
16
        }
17
18
        return $result;
19
    }