Skip to content

Commit da34cbe

Browse files
PSR PHPCBF fix
1 parent 4e85593 commit da34cbe

File tree

1 file changed

+2
-2
lines changed
  • lib/internal/Magento/Framework/HTTP/Adapter

1 file changed

+2
-2
lines changed

lib/internal/Magento/Framework/HTTP/Adapter/Curl.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,11 +176,11 @@ public function write($method, $url, $http_ver = '1.1', $headers = [], $body = '
176176
} elseif ($method == \Zend_Http_Client::GET) {
177177
curl_setopt($this->_getResource(), CURLOPT_HTTPGET, true);
178178
curl_setopt($this->_getResource(), CURLOPT_CUSTOMREQUEST, 'GET');
179-
}elseif ($method == \Zend_Http_Client::DELETE) {
179+
} elseif ($method == \Zend_Http_Client::DELETE) {
180180
curl_setopt($this->_getResource(), CURLOPT_CUSTOMREQUEST, "DELETE");
181181
curl_setopt($this->_getResource(), CURLOPT_POSTFIELDS, $body);
182182
}
183-
183+
184184

185185
if ($http_ver === \Zend_Http_Client::HTTP_1) {
186186
curl_setopt($this->_getResource(), CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1);

0 commit comments

Comments
 (0)