diff --git a/src/Client/Adapter/Curl.php b/src/Client/Adapter/Curl.php index 2c1564a624..7f9344c1e4 100644 --- a/src/Client/Adapter/Curl.php +++ b/src/Client/Adapter/Curl.php @@ -399,7 +399,7 @@ public function write($method, $uri, $httpVersion = 1.1, $headers = array(), $bo // set additional curl options if (isset($this->config['curloptions'])) { - foreach ((array)$this->config['curloptions'] as $k => $v) { + foreach ((array) $this->config['curloptions'] as $k => $v) { if (!in_array($k, $this->invalidOverwritableCurlOptions)) { if (curl_setopt($this->curl, $k, $v) == false) { throw new AdapterException\RuntimeException(sprintf("Unknown or erroreous cURL option '%s' set", $k));