- Request method needed to be lowerscase and specified arguments in constructor)
This commit is contained in:
1 parent
956ccbba1a
commit
063aba6040
3 files changed
+6
-3
No files matched your search
@@ -15,7 +15,7 @@ class Curl implements TransportInterface {
|
||||
public function push(string $url, array $data) : object|null|bool
|
||||
{
|
||||
$ch = curl_init();
|
||||
|
||||
|
||||
curl_setopt($ch, CURLOPT_URL, $url);
|
||||
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
|
||||
curl_setopt($ch, CURLOPT_HTTPHEADER, $this->headers );
|
||||
|
||||
Reference in new issue
Block a user