Code Duplication    Length = 3-3 lines in 2 locations

src/Specs/Builder/ParameterSpecBuilder.php 2 locations

@@ 153-155 (lines=3) @@
150
            return [];
151
        }
152
153
        if ('"' == $definition[0] && '"' == $definition[-1]) {
154
            return trim($definition, '"');
155
        }
156
        if ("'" == $definition[0] && "'" == $definition[-1]) {
157
            return trim($definition, "'");
158
        }
@@ 156-158 (lines=3) @@
153
        if ('"' == $definition[0] && '"' == $definition[-1]) {
154
            return trim($definition, '"');
155
        }
156
        if ("'" == $definition[0] && "'" == $definition[-1]) {
157
            return trim($definition, "'");
158
        }
159
160
        // Less likely we will ever get here because it should fail at a parsing step, but just in case
161
        throw new ParameterSpecBuilderException("Unknown default value format '{$definition}'");