Code Duplication    Length = 3-3 lines in 2 locations

src/TreeHouse/Feeder/Modifier/Data/Transformer/LocalizedStringToNumberTransformer.php 2 locations

@@ 92-94 (lines=3) @@
89
        $groupSep = $formatter->getSymbol(\NumberFormatter::GROUPING_SEPARATOR_SYMBOL);
90
        $decSep = $formatter->getSymbol(\NumberFormatter::DECIMAL_SEPARATOR_SYMBOL);
91
92
        if ('.' !== $decSep && (!$this->grouping || '.' !== $groupSep)) {
93
            $value = str_replace('.', $decSep, $value);
94
        }
95
96
        if (',' !== $decSep && (!$this->grouping || ',' !== $groupSep)) {
97
            $value = str_replace(',', $decSep, $value);
@@ 96-98 (lines=3) @@
93
            $value = str_replace('.', $decSep, $value);
94
        }
95
96
        if (',' !== $decSep && (!$this->grouping || ',' !== $groupSep)) {
97
            $value = str_replace(',', $decSep, $value);
98
        }
99
100
        $result = $formatter->parse($value, \NumberFormatter::TYPE_DOUBLE, $position);
101