Commit fe33751c authored by Gasol Wu's avatar Gasol Wu

_getRawHeaders rename to _toRawHeaders

parent bd590f6e
......@@ -85,7 +85,7 @@ class Solarium_Client_Adapter_PeclHttp extends Solarium_Client_Adapter
return new Solarium_Client_Response(
$httpMessage->getBody(),
$this->_getRawHeaders($httpMessage)
$this->_toRawHeaders($httpMessage)
);
}
......@@ -105,7 +105,7 @@ class Solarium_Client_Adapter_PeclHttp extends Solarium_Client_Adapter
* @param $message HttpMessage
* @return array
*/
protected function _getRawHeaders($message)
protected function _toRawHeaders($message)
{
$headers[] = 'HTTP/' . $message->getHttpVersion()
. ' ' . $message->getResponseCode()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment