@@ -47,7 +47,7 @@ |
||
47 | 47 | /** |
48 | 48 | * @copydoc AbstractAdapter::__construct() |
49 | 49 | * @param bool $persistent (optional) When `true` the client uses a persistent connection. |
50 | - */ |
|
50 | + */ |
|
51 | 51 | public function __construct($server = parent::DEFAULT_SERVER, $userName = "", $password = "", $persistent = TRUE) { |
52 | 52 | $this->initialize(); |
53 | 53 |
@@ -189,9 +189,9 @@ discard block |
||
189 | 189 | */ |
190 | 190 | const X_FORWARDED_FOR_HF = "X-Forwarded-For"; |
191 | 191 | |
192 | - const DESTINATION_HF = "Destination"; //!< This header field is not supported by HTTP 1.1. It's a special header field used by CouchDB. |
|
193 | - const X_COUCHDB_WWW_AUTHENTICATE_HF = "X-CouchDB-WWW-Authenticate"; //!< This header field is not supported by HTTP 1.1. It's a special method header field by CouchDB. |
|
194 | - const X_COUCHDB_FULL_COMMIT_HF = "X-Couch-Full-Commit"; //!< This header field is not supported by HTTP 1.1. It's a special header field used by CouchDB. |
|
192 | + const DESTINATION_HF = "Destination"; //!< This header field is not supported by HTTP 1.1. It's a special header field used by CouchDB. |
|
193 | + const X_COUCHDB_WWW_AUTHENTICATE_HF = "X-CouchDB-WWW-Authenticate"; //!< This header field is not supported by HTTP 1.1. It's a special method header field by CouchDB. |
|
194 | + const X_COUCHDB_FULL_COMMIT_HF = "X-Couch-Full-Commit"; //!< This header field is not supported by HTTP 1.1. It's a special header field used by CouchDB. |
|
195 | 195 | |
196 | 196 | //!@} |
197 | 197 | |
@@ -408,7 +408,7 @@ discard block |
||
408 | 408 | $params = explode('&', $query); |
409 | 409 | |
410 | 410 | foreach ($params as $param) { |
411 | - @list($name, $value) = explode('=', $param, 2); |
|
411 | + @list($name, $value) = explode('=', $param, 2); |
|
412 | 412 | $this->setQueryParam($name, $value); |
413 | 413 | } |
414 | 414 | } |