Code Duplication    Length = 3-3 lines in 2 locations

src/Specs/Builder/ParameterSpecBuilder.php 2 locations

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