Removed reference to return an array of HTTP headers

This commit is contained in:
Rémi Marseille 2014-04-24 09:13:01 +02:00
parent 67410805ba
commit b7581f29b0
1 changed files with 5 additions and 2 deletions

View File

@ -173,7 +173,7 @@ class SoapClient extends \SoapClient
$headers = array();
}
$this->filterRequestHeaders($soapRequest, $headers);
$headers = $this->filterRequestHeaders($soapRequest, $headers);
// execute HTTP request with cURL
$responseSuccessfull = $this->curl->exec(
@ -260,9 +260,12 @@ class SoapClient extends \SoapClient
*
* @param SoapRequest $soapRequest SOAP request object
* @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;
}
/**