Code Duplication    Length = 4-4 lines in 2 locations

src/CurlHttpAdapter.php 2 locations

@@ 146-149 (lines=4) @@
143
                curl_setopt($curl, CURLOPT_CUSTOMREQUEST, $internalRequest->getMethod());
144
                break;
145
146
            case RequestInterface::METHOD_POST:
147
                curl_setopt($curl, CURLOPT_POST, true);
148
                curl_setopt($curl, CURLOPT_POSTFIELDS, $this->prepareContent($internalRequest));
149
                break;
150
151
            case RequestInterface::METHOD_PUT:
152
            case RequestInterface::METHOD_PATCH:
@@ 154-157 (lines=4) @@
151
            case RequestInterface::METHOD_PUT:
152
            case RequestInterface::METHOD_PATCH:
153
            case RequestInterface::METHOD_DELETE:
154
            case RequestInterface::METHOD_OPTIONS:
155
                curl_setopt($curl, CURLOPT_CUSTOMREQUEST, $internalRequest->getMethod());
156
                curl_setopt($curl, CURLOPT_POSTFIELDS, $this->prepareContent($internalRequest));
157
                break;
158
        }
159
160
        return $curl;