Code Duplication    Length = 3-3 lines in 2 locations

src/Guzzle/Parser/UriTemplate/UriTemplate.php 2 locations

@@ 162-164 (lines=3) @@
159
160
                    if (!$isNestedArray) {
161
                        $var = rawurlencode($var);
162
                        if ($parsed['operator'] == '+' || $parsed['operator'] == '#') {
163
                            $var = $this->decodeReserved($var);
164
                        }
165
                    }
166
167
                    if ($value['modifier'] == '*') {
@@ 207-209 (lines=3) @@
204
                    $variable = substr($variable, 0, $value['position']);
205
                }
206
                $expanded = rawurlencode($variable);
207
                if ($parsed['operator'] == '+' || $parsed['operator'] == '#') {
208
                    $expanded = $this->decodeReserved($expanded);
209
                }
210
            }
211
212
            if ($actuallyUseQueryString) {