Skip to content

Commit 3001b02

Browse files
committed
Upgrade min version of HTTP Library
1 parent 989a30c commit 3001b02

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"ext-fileinfo": "*",
4040
"ext-json": "*",
4141
"aplus/helpers": "^3.0",
42-
"aplus/http": "^5.0"
42+
"aplus/http": "^5.3"
4343
},
4444
"require-dev": {
4545
"ext-xdebug": "*",

src/Request.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -602,7 +602,7 @@ public function getOptions() : array
602602
}
603603
$options[\CURLOPT_CUSTOMREQUEST] = $this->getMethod();
604604
$options[\CURLOPT_HEADER] = false;
605-
$options[\CURLOPT_URL] = $this->getUrl()->getAsString();
605+
$options[\CURLOPT_URL] = $this->getUrl()->toString();
606606
$options[\CURLOPT_HTTPHEADER] = $this->getHeaderLines();
607607
return $options;
608608
}

0 commit comments

Comments
 (0)