Removed reference to return an array of HTTP headers
This commit is contained in:
parent
67410805ba
commit
b7581f29b0
|
@ -173,7 +173,7 @@ class SoapClient extends \SoapClient
|
||||||
$headers = array();
|
$headers = array();
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->filterRequestHeaders($soapRequest, $headers);
|
$headers = $this->filterRequestHeaders($soapRequest, $headers);
|
||||||
|
|
||||||
// execute HTTP request with cURL
|
// execute HTTP request with cURL
|
||||||
$responseSuccessfull = $this->curl->exec(
|
$responseSuccessfull = $this->curl->exec(
|
||||||
|
@ -260,9 +260,12 @@ class SoapClient extends \SoapClient
|
||||||
*
|
*
|
||||||
* @param SoapRequest $soapRequest SOAP request object
|
* @param SoapRequest $soapRequest SOAP request object
|
||||||
* @param array $headers An array of HTTP headers
|
* @param array $headers An array of HTTP headers
|
||||||
|
*
|
||||||
|
* @return array
|
||||||
*/
|
*/
|
||||||
protected function filterRequestHeaders(SoapRequest $soapRequest, array &$headers)
|
protected function filterRequestHeaders(SoapRequest $soapRequest, array $headers)
|
||||||
{
|
{
|
||||||
|
return $headers;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue