Commit b270e9e7 authored by Bas de Nooijer's avatar Bas de Nooijer

- code style and documentation fixes

parent 8dabbb82
......@@ -159,7 +159,7 @@ class Solarium_Client_Adapter_Http extends Solarium_Client_Adapter
{
// get the status header
$statusHeader = null;
foreach( $headers AS $header) {
foreach ($headers AS $header) {
if (substr($header, 0, 4) == 'HTTP') {
$statusHeader = $header;
break;
......
......@@ -42,10 +42,13 @@
* HTTP errors usually mean your Solr settings or Solr input (e.g. query)
* contain an error.
*
* The getCode method will return the HTTP response code returned by the server.
* The getMessage method returns an error description that includes the status
* message and code.
*
* The getMessage method will return the corresponding message, as returned by
* the server.
* The getCode method will return the HTTP response code returned by the server
* (if available).
*
* The getStatusMessage method will return the HTTP status message.
*
* @package Solarium
* @subpackage Client
......
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