Code Duplication    Length = 6-7 lines in 2 locations

src/Converter/InlineSqlMinimalConverter.php 2 locations

@@ 91-96 (lines=6) @@
88
        if ($rule instanceof EqualRule) {
89
            $value = $rule->getValue();
90
        }
91
        elseif ($rule instanceof InRule) {
92
            $value = $rule->getPossibilities();
93
            if (is_object($value) && method_exists('toArray', $value)) {
94
                $value = $value->toArray();
95
            }
96
        }
97
        elseif ($rule instanceof NotInRule) {
98
            $operator = 'NOT IN';
99
            $value    = $rule->getPossibilities();
@@ 97-103 (lines=7) @@
94
                $value = $value->toArray();
95
            }
96
        }
97
        elseif ($rule instanceof NotInRule) {
98
            $operator = 'NOT IN';
99
            $value    = $rule->getPossibilities();
100
            if (is_object($value) && method_exists('toArray', $value)) {
101
                $value = $value->toArray();
102
            }
103
        }
104
        elseif ($rule instanceof AboveRule) {
105
            $value = $rule->getLowerLimit();
106
        }