Commit ec577188 authored by Jeremy Mikola's avatar Jeremy Mikola

Merge pull request #247

parents 535eb750 c606ab65
...@@ -53,9 +53,12 @@ class Client ...@@ -53,9 +53,12 @@ class Client
throw InvalidArgumentException::invalidType('"typeMap" driver option', $driverOptions['typeMap'], 'array'); throw InvalidArgumentException::invalidType('"typeMap" driver option', $driverOptions['typeMap'], 'array');
} }
$this->manager = new Manager($uri, $uriOptions, $driverOptions);
$this->uri = (string) $uri; $this->uri = (string) $uri;
$this->typeMap = isset($driverOptions['typeMap']) ? $driverOptions['typeMap'] : null; $this->typeMap = isset($driverOptions['typeMap']) ? $driverOptions['typeMap'] : null;
unset($driverOptions['typeMap']);
$this->manager = new Manager($uri, $uriOptions, $driverOptions);
} }
/** /**
......
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