We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 989a30c commit 3001b02Copy full SHA for 3001b02
composer.json
@@ -39,7 +39,7 @@
39
"ext-fileinfo": "*",
40
"ext-json": "*",
41
"aplus/helpers": "^3.0",
42
- "aplus/http": "^5.0"
+ "aplus/http": "^5.3"
43
},
44
"require-dev": {
45
"ext-xdebug": "*",
src/Request.php
@@ -602,7 +602,7 @@ public function getOptions() : array
602
}
603
$options[\CURLOPT_CUSTOMREQUEST] = $this->getMethod();
604
$options[\CURLOPT_HEADER] = false;
605
- $options[\CURLOPT_URL] = $this->getUrl()->getAsString();
+ $options[\CURLOPT_URL] = $this->getUrl()->toString();
606
$options[\CURLOPT_HTTPHEADER] = $this->getHeaderLines();
607
return $options;
608
0 commit comments