Skip to content

Commit d110a71

Browse files
author
Martin Brecht-Precht
committed
Fixed an method change issue.
1 parent 4a81a85 commit d110a71

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Request/AbstractRequest.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -280,8 +280,8 @@ public function configureCurl($curl)
280280
curl_setopt($curl, CURLOPT_HTTPGET, true);
281281
if ($this->getMethod() !== self::REQUEST_METHOD_GET) {
282282
curl_setopt($curl, CURLOPT_HTTPGET, false);
283-
curl_setopt($curl, CURLOPT_CUSTOMREQUEST, $this->getMethod());
284283
}
284+
curl_setopt($curl, CURLOPT_CUSTOMREQUEST, $this->getMethod());
285285
return $this;
286286
}
287287

@@ -391,8 +391,8 @@ protected function calculateEndpoint(): ?string
391391
}
392392

393393
/**
394-
* @throws \Exception
395394
* @return void
395+
* @throws \Exception
396396
*/
397397
protected function prePerform(): void
398398
{

0 commit comments

Comments
 (0)